Moved ports back into root Makefile.

This commit is contained in:
skarg
2010-11-29 04:18:53 +00:00
parent 8041006068
commit 0e34c5ce5c
2 changed files with 15 additions and 13 deletions
+15
View File
@@ -51,6 +51,21 @@ library:
demos:
$(MAKE) -C demo all
# Add "ports" to the build, if desired
ports: atmega168 bdk-atxx4-mstp at91sam7s
@echo "Built the ARM7 and AVR ports"
atmega168: ports/atmega168/Makefile
$(MAKE) -C ports/atmega168 clean all
at91sam7s: ports/at91sam7s/makefile
$(MAKE) -C ports/at91sam7s clean all
bdk-atxx4-mstp: ports/bdk-atxx4-mstp/Makefile
$(MAKE) -C ports/bdk-atxx4-mstp clean all
clean:
$(MAKE) -C lib clean
$(MAKE) -C demo clean
-13
View File
@@ -54,16 +54,3 @@ clean :
$(MAKE) -C $$dir clean; \
done
# Add "ports" to the build, if desired
ports: atmega168 bdk-atxx4-mstp at91sam7s
@echo "Built the ports"
atmega168: ports/atmega168/Makefile
make -C ports/atmega168 clean all
at91sam7s: ports/at91sam7s/makefile
make -C ports/at91sam7s clean all
bdk-atxx4-mstp: ports/bdk-atxx4-mstp/Makefile
make -C ports/bdk-atxx4-mstp clean all