aboutsummaryrefslogtreecommitdiffstats
path: root/package/px5g/src/Makefile
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-03-25 15:46:39 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-03-25 15:46:39 +0000
commit2cf4946597e5a6ba55ca40359494bc5732c1b9e3 (patch)
treeb3dbbafe7f0848e8329f495e8a3d45200e88a775 /package/px5g/src/Makefile
parent169642253f6861ebe356386428692e93126a9df7 (diff)
downloadupstream-2cf4946597e5a6ba55ca40359494bc5732c1b9e3.tar.gz
upstream-2cf4946597e5a6ba55ca40359494bc5732c1b9e3.tar.bz2
upstream-2cf4946597e5a6ba55ca40359494bc5732c1b9e3.zip
add px5g (moved from LuCI trunk)
SVN-Revision: 20429
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 0000000000..2bd95739cb
--- /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)