summaryrefslogtreecommitdiffstats
path: root/source/AVR_Studio/Soccer/default/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'source/AVR_Studio/Soccer/default/Makefile')
-rwxr-xr-xsource/AVR_Studio/Soccer/default/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/AVR_Studio/Soccer/default/Makefile b/source/AVR_Studio/Soccer/default/Makefile
index e12720e..4996ec9 100755
--- a/source/AVR_Studio/Soccer/default/Makefile
+++ b/source/AVR_Studio/Soccer/default/Makefile
@@ -34,7 +34,7 @@ HEX_EEPROM_FLAGS += --change-section-lma .eeprom=0
## Objects that must be built in order to link
-OBJECTS = Soccer.o board.o keylcd.o i2c.o global.o uart.o navigation.o sensor.o ballsensor.o
+OBJECTS = Soccer.o board.o keylcd.o i2c.o global.o uart.o navigation.o sensor.o ballsensor.o maussensor.o
## Objects explicitly added by the user
LINKONLYOBJECTS =
@@ -70,6 +70,9 @@ sensor.o: ../sensor/sensor.c
ballsensor.o: ../sensor/ballsensor.c
$(CC) $(INCLUDES) $(CFLAGS) -c $<
+maussensor.o: ../hal/maussensor.c
+ $(CC) $(INCLUDES) $(CFLAGS) -c $<
+
##Link
$(TARGET): $(OBJECTS)
$(CC) $(LDFLAGS) $(OBJECTS) $(LINKONLYOBJECTS) $(LIBDIRS) $(LIBS) -o $(TARGET)