summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-05-26 15:42:52 +0200
committerlonkaars <loek@pipeframe.xyz>2022-05-26 15:42:52 +0200
commit8995e8b1f29f9c5da4d8c08fafcba53c58ee7947 (patch)
tree5a6ae80538d04ef87c53903c01054d853cb1e52d
parent60f07661602a5dfe8e39b8038964b38bddcb33a5 (diff)
fix client compilation temporarily and disable sim on master branch0.1.0
-rw-r--r--client/makefile2
-rw-r--r--robot/makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/client/makefile b/client/makefile
index 8bc8ac7..4cca15a 100644
--- a/client/makefile
+++ b/client/makefile
@@ -8,7 +8,7 @@ all: $(EXECNAME)
SOURCES := $(wildcard *.c)
HEADERS := $(wildcard *.h)
-include ../shared/makefile
+# include ../shared/makefile
OBJECTS := $(patsubst %.c,%.o, $(SOURCES))
.o:
diff --git a/robot/makefile b/robot/makefile
index a6e96ee..4039ae3 100644
--- a/robot/makefile
+++ b/robot/makefile
@@ -17,7 +17,7 @@ HEADERS := $(filter-out sim.h, $(wildcard *.h))
include ../shared/makefile
# simulation
-SIM = true
+# SIM = true
CFLAGS += $(if $(SIM), -DW2_SIM, -mcall-prologues -mmcu=$(MCU))
LDFLAGS += $(if $(SIM), , -lpololu_$(DEVICE))
PREFIX := $(if $(SIM), , avr-)