mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-22 10:30:13 +00:00
Removed stuff that was already in cpu/native/Makefile.native
This commit is contained in:
parent
9da9650ff5
commit
b83dd79b1d
@ -26,19 +26,7 @@ CONTIKI_CPU=$(CONTIKI)/cpu/native
|
|||||||
include $(CONTIKI)/cpu/native/Makefile.native
|
include $(CONTIKI)/cpu/native/Makefile.native
|
||||||
|
|
||||||
### Compiler definitions
|
### Compiler definitions
|
||||||
CC = gcc
|
CFLAGS += `gtk-config --cflags` -DNETSIM=1
|
||||||
LD = gcc
|
|
||||||
AS = as
|
|
||||||
OBJCOPY = objcopy
|
|
||||||
STRIP = strip
|
|
||||||
CFLAGSNO = -I. -I$(CONTIKI)/core -I$(CONTIKI_CPU) \
|
|
||||||
-I$(CONTIKI)/platform/$(TARGET) \
|
|
||||||
${addprefix -I,$(APPDIRS)} \
|
|
||||||
-DWITH_UIP -DWITH_ASCII \
|
|
||||||
-Wall -g -I. -I/usr/local/include \
|
|
||||||
`gtk-config --cflags` -DNETSIM=1
|
|
||||||
CFLAGS += $(CFLAGSNO)
|
|
||||||
LDFLAGS = -Wl,-Map=contiki-$(TARGET).map,-export-dynamic
|
|
||||||
TARGET_LIBFILES = `gtk-config --libs`
|
TARGET_LIBFILES = `gtk-config --libs`
|
||||||
|
|
||||||
### Setup directory search path for source files
|
### Setup directory search path for source files
|
||||||
@ -50,6 +38,3 @@ vpath %.c $(PROJECTDIRS) \
|
|||||||
$(CONTIKI_CPU)
|
$(CONTIKI_CPU)
|
||||||
|
|
||||||
### Compilation rules
|
### Compilation rules
|
||||||
|
|
||||||
%.so: $(OBJECTDIR)/%.o
|
|
||||||
$(LD) -shared -o $@ $^
|
|
||||||
|
Loading…
Reference in New Issue
Block a user