commit d956ad1f14fceb8368cd60c31cf765df818586c7
parent 7e1907d5b237b7bf2b740beeeb727bf3a7b91c90
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Sun, 1 Mar 2015 21:51:14 +0000
Add new build.sh script
This new script set all the flags needed by the different
architectures.
Diffstat:
2 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/.gitignore b/.gitignore
@@ -1,2 +1 @@
*.o
-build.sh
diff --git a/build.sh b/build.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+case `uname` in
+Plan9)
+ CFLAGS="-D_SUSV2_SOURCE -DNBOOL"
+ export CFLAGS
+ ;;
+esac
+
+make $@
+