summaryrefslogtreecommitdiffstats
path: root/package/px5g/src/Makefile
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-03-25 15:46:39 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-03-25 15:46:39 +0000
commitafc9f776d270b46fffb6c09f05e338f22894c3d1 (patch)
tree040e278b00ff66581e0db568d2ed3f8da2aaf777 /package/px5g/src/Makefile
parent56d71638dbf48b8e4885e1e5ed5d0f1859674541 (diff)
[package] add px5g (moved from LuCI trunk)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20429 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/px5g/src/Makefile')
-rw-r--r--package/px5g/src/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/px5g/src/Makefile b/package/px5g/src/Makefile
new file mode 100644
index 000000000..2bd95739c
--- /dev/null
+++ b/package/px5g/src/Makefile
@@ -0,0 +1,14 @@
+CFLAGS?=-O2
+CFLAGS+=
+SFLAGS:=--std=gnu99
+WFLAGS:=-Wall -Werror -pedantic
+LDFLAGS?=
+BINARY:=px5g
+
+all: $(BINARY)
+
+$(BINARY): *.c library/*.c
+ $(CC) -I. $(CFLAGS) $(SFLAGS) $(WFLAGS) $(LDFLAGS) -o $@ $+
+
+clean:
+ rm -f $(BINARY)