aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
authorGravatar Tom Willemsen2012-12-29 02:54:58 +0100
committerGravatar Tom Willemsen2012-12-29 02:55:03 +0100
commitf379783d28e73b4613852fca58e0af3f8ea6ab87 (patch)
treeb727454593e654d56c1e2c75096b0e3a55fe7d27 /src/Makefile
parent27bdb9bdd130a91ed5dff6c973e6ba862e44fd1b (diff)
downloadmarkam-f379783d28e73b4613852fca58e0af3f8ea6ab87.tar.gz
markam-f379783d28e73b4613852fca58e0af3f8ea6ab87.zip
Add version and help options to convert
Place the `version' and `display-version' items in `common.scm' so they can be easily used by both executables.
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/Makefile b/src/Makefile
index c0a9ee8..f64fb7f 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,11 +1,13 @@
+objects = paths.o common.o
+
.PHONY: all
all: linkwave convert
-linkwave: linkwave.scm paths.o
+linkwave: linkwave.scm $(objects)
csc $^ -o $@
-convert: convert.scm paths.o
+convert: convert.scm $(objects)
csc $^ -o $@
-paths.o: paths.scm
+$(objects): %.o: %.scm
csc -c $^