summaryrefslogtreecommitdiff
path: root/Venus_Skeleton/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Venus_Skeleton/Makefile')
-rw-r--r--Venus_Skeleton/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/Venus_Skeleton/Makefile b/Venus_Skeleton/Makefile
index 5b94f35..26b4ee2 100644
--- a/Venus_Skeleton/Makefile
+++ b/Venus_Skeleton/Makefile
@@ -1,2 +1,10 @@
+#CC = /usr/share/arduino/hardware/tools/avr/bin/avr-gcc
+CC = avr-gcc
+WFLAGS = -Wall -Wextra -Wno-attributes
+WFLAGS += -fdiagnostics-color=auto
+CFLAGS =
+
+SOURCES = Venus_Skeleton.ino
+
check:
- gcc -Wall -Wextra $$(cat .syntastic_c_config) -x c++ Venus_Skeleton.ino -o /dev/null -O2 -Wno-attributes
+ $(CC) $(WFLAGS) $$(cat .syntastic_c_config) $(CFLAGS) -x c++ $(SOURCES) -o /dev/null -O2