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/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/source/AVR_Studio/Soccer/default/Makefile b/source/AVR_Studio/Soccer/default/Makefile
index 4996ec9..1ea98b9 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 maussensor.o
+OBJECTS = Soccer.o board.o keylcd.o i2c.o global.o uart.o navigation.o sensor.o ballsensor.o maussensor.o position.o abstand.o
## Objects explicitly added by the user
LINKONLYOBJECTS =
@@ -73,6 +73,12 @@ ballsensor.o: ../sensor/ballsensor.c
maussensor.o: ../hal/maussensor.c
$(CC) $(INCLUDES) $(CFLAGS) -c $<
+position.o: ../sensor/position.c
+ $(CC) $(INCLUDES) $(CFLAGS) -c $<
+
+abstand.o: ../sensor/abstand.c
+ $(CC) $(INCLUDES) $(CFLAGS) -c $<
+
##Link
$(TARGET): $(OBJECTS)
$(CC) $(LDFLAGS) $(OBJECTS) $(LINKONLYOBJECTS) $(LIBDIRS) $(LIBS) -o $(TARGET)