comparison src/ploki/GNUmakefile @ 4223:ac0403686959

<oerjan> rm -rf src/ploki; mv ploki src
author HackBot
date Fri, 20 Dec 2013 22:18:50 +0000
parents
children
comparison
equal deleted inserted replaced
4222:b0f3e267bb1e 4223:ac0403686959
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"