comparison ploki/GNUmakefile @ 4215:7a6bc310b732

<shachaf> tar xjf ploki-0.6.5.1.tar.bz2
author HackBot
date Fri, 20 Dec 2013 22:04:38 +0000
parents
children
comparison
equal deleted inserted replaced
4214:59a88d73e848 4215:7a6bc310b732
1 .PHONY: all clean realclean distclean dist remake
2
3 include MakeSkel
4
5 $(OBJ:.o=.depend): %.depend: %.c %.h
6 $(DEPEND) $< >$@
7
8 -include $(OBJ:.o=.depend)
9
10 Makefile: MakeSkel GNUmakefile $(OBJ:.o=.depend)
11 $(RMF) Makefile
12 $(CP) MakeSkel Makefile
13 $(CAT) *.depend >>Makefile
14
15 .PHONY: dist
16 dist: Makefile tags distclean
17 plokidir="`$(BASENAME) \"\`$(PWD)\`\"`" \
18 version="`$(CAT) VERSION`" && \
19 cd .. && \
20 $(RMF) "ploki-$$version.tar$(ZIP_EXT)" && \
21 $(TAR) -cf "ploki-$$version.tar" --exclude-from="$$plokidir/IGNORE" "$$plokidir" && \
22 $(ZIP) "ploki-$$version.tar"