]> git.droids-corp.org - aversive.git/blobdiff - projects/microb2010/mainboard/Makefile
20100416
[aversive.git] / projects / microb2010 / mainboard / Makefile
index 7eff3cb27d126c837f69125ac4e5d14eab33706e..33b5c525495b68ac567fd81b2abde7845be81748 100755 (executable)
@@ -6,15 +6,15 @@ AVERSIVE_DIR = ../../..
 SRC  = $(TARGET).c cmdline.c commands_ax12.c commands_gen.c
 SRC += commands_cs.c commands_mainboard.c commands_traj.c commands.c
 SRC += i2c_protocol.c sensor.c actuator.c cs.c ax12_user.c
-SRC += strat_utils.c strat_base.c strat.c
-ifneq ($(HOST),avr)
+SRC += strat_utils.c strat_base.c strat.c strat_corn.c
+ifeq ($(H),1)
 SRC += robotsim.c
 endif
 
 ASRC =
 
 CFLAGS += -Wall -Werror
-ifeq ($(HOST),avr)
+ifneq ($(H),1)
 LDFLAGS = -T ../common/avr6.x
 endif