Makefile cleanup

This commit is contained in:
Vincent Batts 2012-07-30 12:09:02 -04:00
parent 227e8de979
commit 6b3bd894d6

View file

@ -1,4 +1,10 @@
CFLAGS=`pkg-config --libs --cflags zlib` CFLAGS += `pkg-config --libs --cflags zlib`
CFLAGS += -Wall
CC = gcc
all: unpack
%: %.c
$(CC) $(CFLAGS) -o $@ $<
unpack: unpack.c
gcc -Wall $(CFLAGS) -o unpack unpack.c