aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e1448eee..cea10f18 100644
--- a/Makefile
+++ b/Makefile
@@ -41,6 +41,14 @@ $(OBJDIR):
libguile-calendar.so: $(O_FILES)
$(CC) -shared -o $@ $^ $(LDFLAGS)
+CALDIR = cal
+.SECONDARY += %.dot
+%.dot: parse
+ ./parse $(CALDIR) -g $@
+
+%.pdf: %.dot
+ dot -Tpdf -o $@ $<
+
clean:
-rm parse
-rm $(OBJDIR)/*.o