From 3be23e8300d431d2cd4e1687e0d16d618fac66e6 Mon Sep 17 00:00:00 2001 From: nifi Date: Fri, 26 Oct 2007 13:25:48 +0000 Subject: [PATCH] use FIRMWAREFILE if specified git-svn-id: https://mspsim.svn.sourceforge.net/svnroot/mspsim/mspsim@15 23d1a52b-0c3c-0410-b72d-8f29ab48fe35 --- Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 0011a68..cecbd24 100644 --- a/Makefile +++ b/Makefile @@ -52,9 +52,13 @@ CCARGS=-deprecation -classpath . # SERVER OBJECTS ############################################################### -FIRMWAREFILE = blinker2.ihex +ifndef FIRMWAREFILE ESBFIRMWARE = firmware/esb/sensor-demo.firmware SKYFIRMWARE = firmware/sky/sensor-demo.firmware +else +ESBFIRMWARE = $FIRMWAREFILE +SKYFIRMWARE = $FIRMWAREFILE +endif CPUTEST := tests/cputest.firmware @@ -115,11 +119,7 @@ mtest: compile $(CPUTEST) # CLEAN (untrusted, use with great care!!!) ############################################################### -.PHONY: clean claen clena - -claen: clean - -clena: clean +.PHONY: clean clean: ifdef WINDIR