Makefile cleanup
This commit is contained in:
parent
227e8de979
commit
6b3bd894d6
1 changed files with 9 additions and 3 deletions
12
Makefile
12
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
|
||||
|
|
Loading…
Reference in a new issue