Removed stuff that was already in cpu/native/Makefile.native

This commit is contained in:
adamdunkels 2007-03-29 22:23:49 +00:00
parent 9da9650ff5
commit b83dd79b1d

View file

@ -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 $@ $^