summaryrefslogtreecommitdiff
path: root/n/avr/howto/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'n/avr/howto/Makefile')
-rw-r--r--n/avr/howto/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/n/avr/howto/Makefile b/n/avr/howto/Makefile
index 25dfd1a..1f09fb3 100644
--- a/n/avr/howto/Makefile
+++ b/n/avr/howto/Makefile
@@ -1,5 +1,5 @@
PROGS = example
-SOURCES = example.c
+example_OBJECTS = example.o
DOC = howto-avr.html
EXTRACTDOC =
MODULES =
@@ -11,6 +11,8 @@ MCU_TARGET = atmega8
OPTIMIZE = -O2
DEFS =
-LIBS =
+LDLIBS =
include Makefile.avr
+
+example.elf: $(example_OBJECTS)