From 215b4c9886f3a567dd2a6cd8c99c2fce7038fdfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Thu, 19 May 2005 14:17:53 +0000 Subject: added a target "ann" to build as a single library svn path=/trunk/externals/ann/; revision=3031 --- src/makefile.linux | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/makefile.linux b/src/makefile.linux index 9e74eed..7dc8579 100644 --- a/src/makefile.linux +++ b/src/makefile.linux @@ -71,6 +71,17 @@ all: $(TARGETS:%.c=%.pd_linux) $(CC) $(CFLAGS) $(INCLUDE) $(LDFLAGS) -o "$*.pd_linux" "$*.c" $(LIBS) $(STRIP) $(STRIPFLAGS) "$*.pd_linux" + +ann: $(TARGETS:%.c=%.o) + $(CC) $(CFLAGS) $(INCLUDE) -o ann.o -c ann.c + $(CC) $(LDFLAGS) -o ann.pd_linux *.o $(LIBS) + $(STRIP) $(STRIPFLAGS) ann.pd_linux + +%.o: %.c + $(CC) $(CFLAGS) $(INCLUDE) -o "$*.o" -c "$*.c" + + + everything: clean all install distclean distclean: -- cgit v1.2.1