From f379783d28e73b4613852fca58e0af3f8ea6ab87 Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Sat, 29 Dec 2012 02:54:58 +0100 Subject: 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. --- src/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/Makefile') 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 $^ -- cgit v1.3-2-g0d8e