mirror of
https://github.com/ggrandou/abootimg.git
synced 2024-11-23 09:53:32 +08:00
cleaned Makefile
This commit is contained in:
parent
4494fb2cac
commit
7bde63e971
14
Makefile
14
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user