aboutsummaryrefslogtreecommitdiff
path: root/src/makefile.linux
diff options
context:
space:
mode:
Diffstat (limited to 'src/makefile.linux')
-rw-r--r--src/makefile.linux11
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: