projects
/
openwrt
/
staging
/
yousong.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
px5g: rename the old package to px5g-standalone, add a new one that links against...
[openwrt/staging/yousong.git]
/
package
/
utils
/
px5g-standalone
/
src
/
Makefile
diff --git a/package/utils/px5g-standalone/src/Makefile
b/package/utils/px5g-standalone/src/Makefile
new file mode 100644
(file)
index 0000000..
2bd9573
--- /dev/null
+++ b/
package/utils/px5g-standalone/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)