summaryrefslogtreecommitdiff
path: root/openwrt/package/pipacs/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/pipacs/src/Makefile')
-rw-r--r--openwrt/package/pipacs/src/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/openwrt/package/pipacs/src/Makefile b/openwrt/package/pipacs/src/Makefile
new file mode 100644
index 0000000000..a9a88059de
--- /dev/null
+++ b/openwrt/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