summaryrefslogtreecommitdiff
path: root/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
commite2e1aff44f063dd354505f06e8e7f92dd966e194 (patch)
tree9b330c512b2283192477662011b1eb4b7dc9e812 /package/pipacs/src/Makefile
parentc034aa274177af006c803f1cc9d7807fcfeb61fa (diff)
add pipacs package (thanks to Janos)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2865 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 0000000000..a9a88059de
--- /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