summaryrefslogtreecommitdiffstats
path: root/www/download/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/download/Makefile')
-rw-r--r--www/download/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/www/download/Makefile b/www/download/Makefile
index 751a62f256..77a5daee5e 100644
--- a/www/download/Makefile
+++ b/www/download/Makefile
@@ -1,9 +1,12 @@
-ACTION=@echo preprocessing $@; rm -f $@; $(HOME)/bin/fcpp -WWW -I.. -Uunix -H -C -V -LL >$@
+ACTION=echo preprocessing $@; rm -f $@; \
+ $(HOME)/bin/fcpp -WWW -I.. -Uunix -H -C -V -LL $< $@
-SRC := $(wildcard *.t)
-OBJS := $(SRC:%.t=%.html)
+OBJS := index.shtml old.html
all: $(OBJS)
-%.html : %.t
- $(ACTION) $<
+index.shtml: index.t
+ $(ACTION)
+
+old.html: old.t
+ $(ACTION)