Created
July 22, 2013 22:43
-
-
Save jsleeio/6058377 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| PROG=blink | |
| -include ../Makefile.simple |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SOURCES=$(PROG).c | |
| CC=msp430-gcc | |
| MCU=msp430g2231 | |
| CFLAGS=-std=c99 -Wall -Os -mmcu=$(MCU) | |
| $(PROG): $(SOURCES) | |
| clean: | |
| $(RM) $(PROG) *.o | |
| flash: | |
| mspdebug rf2500 "prog $(PROG)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment