summaryrefslogtreecommitdiffstats
path: root/package/pipacs/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/pipacs/src/Makefile')
-rw-r--r--package/pipacs/src/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/package/pipacs/src/Makefile b/package/pipacs/src/Makefile
new file mode 100644
index 000000000..a9a88059d
--- /dev/null
+++ b/package/pipacs/src/Makefile
@@ -0,0 +1,15 @@
+# $Id$
+
+EXTRA_CFLAGS := -c -I.
+PIPACS_OBJS := pipacs.o parser.o
+
+all: pipacs
+
+%.o: %.c
+ $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -o $@ $^
+
+pipacs: $(PIPACS_OBJS)
+ $(CC) -o $@ $^
+
+clean:
+ rm -f *.o *.so pipacs