M Makefile => Makefile +28 -5
@@ 1,15 1,38 @@
ASCIIDOC=asciidoc
-XMLTO =xmlto
-RM =rm -rf
+XMLTO=xmlto
+RM=rm -rfv
-MANDOC =README
+PROJECTS= begin
+PROJECTS+=binarytree
+PROJECTS+=bits
+PROJECTS+=cbook
+PROJECTS+=ch8
+PROJECTS+=curse
+PROJECTS+=debug
+PROJECTS+=linkedlist
+PROJECTS+=pattern
+PROJECTS+=progress
+PROJECTS+=redblacktree
+PROJECTS+=tblj-yaml
+PROJECTS+=trigrapher
+PROJECTS+=UVa
+PROJECTS+=write
+PROJECTS+=yaml1_1
+
+all:
+ @for p in $(PROJECTS); do make -C $$p; done
man: doc
- man -l laumann.1
+ @man -l laumann.1
doc: README.txt
$(ASCIIDOC) -b docbook -d manpage README.txt
$(XMLTO) man README.xml
clean:
- $(RM) laumann.1 README.xml>
\ No newline at end of file
+ @$(RM) laumann.1 README.xml
+
+clean-all:
+ @for p in $(PROJECTS); do make -C $$p clean; done
+
+.PHONY: clean clean-all all man doc<
\ No newline at end of file
A UVa/Makefile => UVa/Makefile +8 -0
@@ 0,0 1,8 @@
+EX= bachet10404
+EX+=verweggistan812
+
+all:
+ @for ex in $(EX); do make -C $$ex; done
+
+clean:
+ @for ex in $(EX); do make -C $$ex clean; done<
\ No newline at end of file