summaryrefslogtreecommitdiff
path: root/openwrt/package/pipacs/src/Makefile
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-01-09 15:46:03 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-01-09 15:46:03 +0000
commit9040df7d588f52c73bb8be4c0341ba506607fae9 (patch)
treed2ad653231362a4770ce3f9381651b034ab8d076 /openwrt/package/pipacs/src/Makefile
parent8d0e8886d4c79776e1a73d357c02d86ebea0e769 (diff)
add pipacs package (thanks to Janos)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2865 3c298f89-4303-0410-b956-a3cf2f4a3e73
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