CFLAGS contain nodeid if it is defined

This commit is contained in:
adamdunkels 2006-10-09 09:15:48 +00:00
parent bf5b90d764
commit b04edbebb3
1 changed files with 5 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $Id: Makefile.msp430,v 1.6 2006/10/09 09:13:23 adamdunkels Exp $
# $Id: Makefile.msp430,v 1.7 2006/10/09 09:15:48 adamdunkels Exp $
### Check if we are running under Windows
@ -10,6 +10,10 @@ ifndef WINDIR
endif
endif
ifdef nodeid
CFLAGS += -DNODEID=$(nodeid)
endif
.SUFFIXES:
### Define the CPU directory