From 7bde63e9719ce6515b9c08a47d45053afce69d3e Mon Sep 17 00:00:00 2001 From: Gilles Grandou Date: Thu, 14 Jul 2011 01:27:11 +0200 Subject: [PATCH] cleaned Makefile --- Makefile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 04599c2..63882e7 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,8 @@ +CPPFLAGS=-DHAS_BLKID +CFLAGS=-O3 +LDLIBS=-lblkid + all: abootimg version.h: @@ -10,14 +14,10 @@ version.h: fi \ fi -abootimg: abootimg.c bootimg.h version.h - gcc -g -O2 -Wno-unused-result -o abootimg abootimg.c -DHAS_BLKID -lblkid +abootimg.o: bootimg.h version.h clean: - rm -f abootimg version.h + rm -f abootimg *.o version.h -archive: clean - cd ..; tar cvzf abootimg.tar.gz abootimg --exclude tests --exclude tmp\* --exclude .git - -.PHONY: clean archive all +.PHONY: clean all