summaryrefslogtreecommitdiff
path: root/package/utils/px5g/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/utils/px5g/src/Makefile')
-rw-r--r--package/utils/px5g/src/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/utils/px5g/src/Makefile b/package/utils/px5g/src/Makefile
new file mode 100644
index 0000000..2bd9573
--- /dev/null
+++ b/package/utils/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)