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