aboutsummaryrefslogtreecommitdiff
path: root/examples/blink/Makefile
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2016-03-20 16:39:30 +0100
committerKarel Kočí <cynerd@email.cz>2016-03-20 16:39:30 +0100
commit9439c6f1caffd938673018f3af7460b33a12528e (patch)
tree55eb32bfb1f90a489982853f698619a2083a4285 /examples/blink/Makefile
parent1ac3026c039cb15dd8c110c84215096854c3c804 (diff)
downloadavr-ioe-9439c6f1caffd938673018f3af7460b33a12528e.tar.gz
avr-ioe-9439c6f1caffd938673018f3af7460b33a12528e.tar.bz2
avr-ioe-9439c6f1caffd938673018f3af7460b33a12528e.zip
Another work progress
Diffstat (limited to 'examples/blink/Makefile')
-rw-r--r--examples/blink/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/blink/Makefile b/examples/blink/Makefile
index ef7e205..f2cc133 100644
--- a/examples/blink/Makefile
+++ b/examples/blink/Makefile
@@ -30,7 +30,7 @@ clean:
$(Q)$(RM) $(OBJ)
@echo " CLEAN $(PROJNAME).elf $(PROJNAME).hex"
$(Q)$(RM) $(PROJNAME).elf $(PROJNAME).hex
- $(Q)$(MAKE) -C ../.. clean O=examples/blink
+ $(Q)$(MAKE) -C ../.. clean O=examples/$(PROJNAME)
# Building targets are available only if configuration is generated
ifneq ("$(wildcard .config)","")
@@ -54,7 +54,7 @@ $(OBJ): %.o: %.c libioe.a
$(Q)avr-gcc $(CFLAGS) -c -o $@ $<
libioe.a: .config
- $(Q)$(MAKE) -C ../.. examples/blink/libioe.a O=examples/blink
+ $(Q)$(MAKE) -C ../.. examples/$(PROJNAME)/libioe.a O=examples/$(PROJNAME)
endif
.config:
@@ -62,8 +62,8 @@ endif
@exit 1
config:
- $(Q)$(MAKE) -C ../.. config O=examples/blink
+ $(Q)$(MAKE) -C ../.. config O=examples/$(PROJNAME)
.PHONY: menuconfig
menuconfig:
- $(Q)$(MAKE) -C ../.. menuconfig O=examples/blink
+ $(Q)$(MAKE) -C ../.. menuconfig O=examples/$(PROJNAME)