aboutsummaryrefslogtreecommitdiff
path: root/recipes-demo/de10-nano-gpio-apps/files/build_watch_switch_events.sh
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-demo/de10-nano-gpio-apps/files/build_watch_switch_events.sh')
-rwxr-xr-xrecipes-demo/de10-nano-gpio-apps/files/build_watch_switch_events.sh22
1 files changed, 22 insertions, 0 deletions
diff --git a/recipes-demo/de10-nano-gpio-apps/files/build_watch_switch_events.sh b/recipes-demo/de10-nano-gpio-apps/files/build_watch_switch_events.sh
new file mode 100755
index 0000000..57cb588
--- /dev/null
+++ b/recipes-demo/de10-nano-gpio-apps/files/build_watch_switch_events.sh
@@ -0,0 +1,22 @@
+#!/bin/sh
+
+gcc \
+ -march=armv7-a \
+ -mfloat-abi=hard \
+ -mfpu=vfp3 \
+ -mthumb-interwork \
+ -mthumb \
+ -O2 \
+ -g \
+ -feliminate-unused-debug-types \
+ -std=gnu99 \
+ -W \
+ -Wall \
+ -Werror \
+ -Wc++-compat \
+ -Wwrite-strings \
+ -Wstrict-prototypes \
+ -pedantic \
+ -o watch_switch_events \
+ watch_switch_events.c
+