summaryrefslogtreecommitdiffstats
path: root/pressure_control/firmware/Makefile
diff options
context:
space:
mode:
authorMichael Buesch <mb@bu3sch.de>2008-10-12 16:46:48 +0200
committerMichael Buesch <mb@bu3sch.de>2008-10-12 16:46:48 +0200
commit4a914e8c559cd48173bed088e2122d1d35c8de9b (patch)
treebd31fdcbe3fb8c645663760ef84ad24875b15dc9 /pressure_control/firmware/Makefile
parent660677d70eeacb01304a547df5dacac1bda8d036 (diff)
downloadcnc-4a914e8c559cd48173bed088e2122d1d35c8de9b.tar.xz
cnc-4a914e8c559cd48173bed088e2122d1d35c8de9b.zip
Add code to the pressure control.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Diffstat (limited to 'pressure_control/firmware/Makefile')
-rw-r--r--pressure_control/firmware/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/pressure_control/firmware/Makefile b/pressure_control/firmware/Makefile
index 30eaaf6..4024f02 100644
--- a/pressure_control/firmware/Makefile
+++ b/pressure_control/firmware/Makefile
@@ -17,7 +17,7 @@ CFLAGS += "-Dinline=inline __attribute__((__always_inline__))"
LFUSE = 0xE0
HFUSE = 0xD9
-OBJECTS = main.o util.o
+OBJECTS = main.o util.o valves.o sensor.o
NAME = pressure_control
BIN = $(NAME).bin
@@ -26,10 +26,14 @@ EEP = $(NAME).eep.hex
all: $(HEX)
-main.o: util.h
+main.o: util.h calibration.h valves.h sensor.h
util.o: util.h calibration.h
+valves.o: valves.h
+
+sensor.o: sensor.h
+
%.s: %.c
$(CC) $(CFLAGS) -S $*.c
bues.ch cgit interface