Permalink
Browse files

Makefile update: detect source files automatically.

  • Loading branch information...
Erik Søe Sørensen
Erik Søe Sørensen committed Jan 3, 2012
1 parent d949789 commit 90b8bc35fc4e71273aa4e8be2e539803951443a9
Showing with 4 additions and 1 deletion.
  1. +4 −1 Makefile
View
@@ -1,4 +1,7 @@
-all: Introduction.html DataStructures.html OOP.html OOP-overview.html Test.html
+SRCS = $(wildcard *.asciidoc)
+DESTS = $(patsubst %.asciidoc,%.html,${SRCS})
+
+all: ${DESTS}
clean:
rm *.html || true

0 comments on commit 90b8bc3

Please sign in to comment.