don't define symbols as phone target on windows platforms
This commit is contained in:
parent
b7ceb24dab
commit
77ec45b223
1 changed files with 12 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
# $Id: Makefile.cooja,v 1.10 2007/01/09 09:13:36 fros4943 Exp $
|
# $Id: Makefile.cooja,v 1.11 2007/03/23 21:36:48 fros4943 Exp $
|
||||||
|
|
||||||
## The COOJA Simulator Contiki platform Makefile
|
## The COOJA Simulator Contiki platform Makefile
|
||||||
##
|
##
|
||||||
|
@ -7,6 +7,14 @@
|
||||||
## The purpose of this file is to compile a shared library that
|
## The purpose of this file is to compile a shared library that
|
||||||
## can be loaded into the Java part of COOJA.
|
## can be loaded into the Java part of COOJA.
|
||||||
|
|
||||||
|
ifndef WINDIR
|
||||||
|
ifdef OS
|
||||||
|
ifneq (,$(findstring Windows,$(OS)))
|
||||||
|
WINDIR := Windows
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
### Check input COOJA parameters
|
### Check input COOJA parameters
|
||||||
|
|
||||||
ifndef CONTIKI
|
ifndef CONTIKI
|
||||||
|
@ -78,7 +86,10 @@ endif
|
||||||
$(DEPFILE): ${addprefix $(OBJECTDIR)/, $(CONTIKI_SOURCEFILES:.c=.o)}
|
$(DEPFILE): ${addprefix $(OBJECTDIR)/, $(CONTIKI_SOURCEFILES:.c=.o)}
|
||||||
$(AR) rcf $@ $^
|
$(AR) rcf $@ $^
|
||||||
|
|
||||||
|
ifndef WINDIR
|
||||||
.PHONY: symbols.c
|
.PHONY: symbols.c
|
||||||
|
endif
|
||||||
|
|
||||||
symbols.c:
|
symbols.c:
|
||||||
# Create initial symbol files if not existing
|
# Create initial symbol files if not existing
|
||||||
${CONTIKI}/tools/make-empty-symbols
|
${CONTIKI}/tools/make-empty-symbols
|
||||||
|
|
Loading…
Reference in a new issue