diff --git a/Makefile b/Makefile index fb6c196..65a3a8d 100644 --- a/Makefile +++ b/Makefile @@ -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