aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index cd03356..379013c 100644
--- a/Makefile
+++ b/Makefile
@@ -58,9 +58,6 @@ LFLAGS = -Tstm32conf/$(LINKER) -L stm32conf/lanchon-stm32 \
CPFLAGS = -v -Obinary
ODFLAGS = -S
-# main source file
-MAIN=main.cpp
-
CSRC = libmaple/systick.c \
libmaple/timers.c \
libmaple/adc.c \
@@ -96,6 +93,7 @@ CPPSRC = wirish/wirish_math.cpp \
wirish/comm/HardwareSerial.cpp \
wirish/comm/HardwareSPI.cpp \
wirish/cxxabi-compat.cpp \
+ main.cpp
# i really have no idea what i'm doing
meep += $(CSRC)