diff options
author | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2005-05-19 14:17:53 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2005-05-19 14:17:53 +0000 |
commit | 215b4c9886f3a567dd2a6cd8c99c2fce7038fdfb (patch) | |
tree | 884e9e7b33bc1a052677d7eea002d14a6b2c5d76 /src/makefile.linux | |
parent | 1a93369c885c5389220096db8bc71598f1392e4b (diff) |
added a target "ann" to build as a single library
svn path=/trunk/externals/ann/; revision=3031
Diffstat (limited to 'src/makefile.linux')
-rw-r--r-- | src/makefile.linux | 11 |
1 files changed, 11 insertions, 0 deletions
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: |