From 2f0fd8d03e032ae21922fe34f68f3f4846045f8c Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Wed, 1 Aug 2012 21:12:09 +0200 Subject: Use guile-snarf Because it looks cooler. This way its easy to keep all the information about the function in one place, and it makes it easier/more interesting to add new functions later. --- src/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/Makefile') diff --git a/src/Makefile b/src/Makefile index 584374e..30ba106 100644 --- a/src/Makefile +++ b/src/Makefile @@ -8,6 +8,10 @@ all: libguile-gitto-path.so .PHONY: install uninstall +%.x: %.c + guile-snarf -o $@ $< $(CFLAGS) + +gitto-path.o: gitto-path.x libguile-gitto-path.so: gitto-path.o $(CC) $(CFLAGS) -shared -o libguile-gitto-path.so $^ -- cgit v1.2.3-54-g00ecf