From 6b3bd894d6aea2043575861377ac7cbac1f46cfe Mon Sep 17 00:00:00 2001 From: Vincent Batts Date: Mon, 30 Jul 2012 12:09:02 -0400 Subject: [PATCH] Makefile cleanup --- Makefile | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) 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