summaryrefslogtreecommitdiff
path: root/n/avr/adc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'n/avr/adc/Makefile')
-rw-r--r--n/avr/adc/Makefile14
1 files changed, 10 insertions, 4 deletions
diff --git a/n/avr/adc/Makefile b/n/avr/adc/Makefile
index 3dd2ee6..822a330 100644
--- a/n/avr/adc/Makefile
+++ b/n/avr/adc/Makefile
@@ -1,7 +1,7 @@
PROGS = test_adc
-SOURCES = test_adc.c adc.c
-DOC = adc.html
-EXTRACTDOC = adc.c avrconfig.h
+test_adc_OBJECTS = test_adc.o adc.o rs232.o proto.o
+DOC =
+EXTRACTDOC =
MODULES = n/avr/proto n/avr/rs232 n/avr/utils
CONFIGFILE = avrconfig.h
# atmega8, atmega8535, atmega128...
@@ -11,6 +11,12 @@ MCU_TARGET = atmega8535
OPTIMIZE = -O2
DEFS =
-LIBS =
+LDLIBS =
+
+EXTRA_TARGETS =
+EXTRA_CLEAN_FILES =
include Makefile.avr
+
+test_adc.elf: $(test_adc_OBJECTS)
+