msp430_GCC: Update makefile for most recent mspgcc

This commit is contained in:
Paul Bartell 2022-12-01 17:15:33 -08:00 committed by Paul Bartell
parent e28f953025
commit 32a3f4e8a1

View file

@ -33,7 +33,7 @@ OPT=-Os
WARNINGS=-Wall -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wsign-compare \ WARNINGS=-Wall -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wsign-compare \
-Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wunused -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wunused
CFLAGS=-mmcu=msp430x449 $(OPT) $(DEBUG) -I. -I../../Source/include -I../Common/include -DGCC_MSP430 $(WARNINGS) CFLAGS=-mcpu=430 -mmcu=msp430f449 $(OPT) $(DEBUG) -I. -I../../Source/include -I../Common/include -DGCC_MSP430 $(WARNINGS)
# Setup paths to source code # Setup paths to source code
SOURCE_PATH = ../../Source SOURCE_PATH = ../../Source
@ -69,16 +69,4 @@ $(OBJ) : %.o : %.c makefile
$(CC) -c $(CFLAGS) $< -o $@ $(CC) -c $(CFLAGS) $< -o $@
clean : clean :
touch makefile ${RM} ${OBJ} a.out