msp4th: pc4th make target
authorDan White <dan@whiteaudio.com>
Tue, 14 May 2013 18:13:58 +0000 (13:13 -0500)
committerDan White <dan@whiteaudio.com>
Tue, 14 May 2013 18:16:10 +0000 (13:16 -0500)
msp4th/Makefile

index 6ca941db7beace8186751bd13b7cd6fa89e34edb..15d2e474af17b89626c19232a387e95cb5105b9a 100644 (file)
@@ -133,6 +133,9 @@ bootrom.rcf: $(SOURCES) flashboot.s
        $(MAKE) -B DEFINE=-DBOOTROM LDSCRIPT=ldscript_ns430_bootrom all
        ../ihex2rcf.py --width=16 --start=0x3000 --length=0x1000 --default=0x0000 main.hex > $@
 
+pc4th: test4th.c msp4th.c msp4th.h
+       gcc -Wall -o pc4th test4th.c msp4th.c
+
 .PHONY:        flash
 flash: $(TARGET).hex
        ./flash.py $(ERASE) $(TARGET).hex
@@ -144,4 +147,5 @@ clean:
        $(RM) $(TARGET).{elf,hex,txt,map,xout}
        $(RM) $(SOURCES:.c=.lst)
        $(RM) $(DEPEND)
+       $(RM) pc4th