Skip to content

Commit

Permalink
Add sensniff example Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
g-oikonomou committed Aug 12, 2016
1 parent 4922925 commit ac2dcb8
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions examples/sensniff/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
DEFINES+=PROJECT_CONF_H=\"project-conf.h\"

CONTIKI_PROJECT = sensniff

PROJECT_SOURCEFILES += sensniff-rdc.c netstack.c
PROJECTDIRS += pool $(TARGET)

ifeq ($(TARGET),)
-include Makefile.target
ifeq ($(TARGET),)
TARGET=srf06-cc26xx
$(info TARGET not defined, using target $(TARGET))
endif
endif

CONTIKI_WITH_RIME = 1

### Optionally, the target can add its own Makefile, to do things like e.g.
### add more source files to the build or define make variables.
-include $(TARGET)/Makefile.$(TARGET)

all: $(CONTIKI_PROJECT)

CONTIKI = ../..
include $(CONTIKI)/Makefile.include

0 comments on commit ac2dcb8

Please sign in to comment.