Project

General

Profile

Revision 1692

creating an instance of the hunter prey demo

View differences:

Makefile
1 1
############################
2 2
### Update this Section ####
3 3
############################
4
COLONYROOT = ../../../..
4
COLONYROOT = ../../..
5 5

  
6 6
# Target file name (without extension).
7 7
TARGET = libwireless
......
71 71
CDEFS += -DROBOT
72 72

  
73 73
# Place -I options here
74
CINCS = -I$(COLONYROOT)/code/lib/include/libdragonfly
75
CINCS += -L$(COLONYROOT)/code/lib/bin
74
CINCS = -I$(COLONYROOT)/lib/include/libdragonfly
75
CINCS += -L$(COLONYROOT)/lib/bin
76 76

  
77 77

  
78 78
#---------------- Compiler Options ----------------
......
165 165
dist: all publish
166 166

  
167 167
publish:
168
	$(COPY) $(TARGET).a $(COLONYROOT)/code/lib/bin
169
	$(COPY) *.h $(COLONYROOT)/code/lib/include/$(TARGET)
168
	$(COPY) $(TARGET).a $(COLONYROOT)/lib/bin
169
	$(COPY) *.h $(COLONYROOT)/lib/include/$(TARGET)
170 170

  
171
docs:
172
	$(DOXYGEN)
173
	$(COPY) docs/html/* $(COLONYROOT)/docs/$(TARGET)
174

  
175 171
build: $(OBJ)
176 172
	$(AR) $(ALL_ASFLAGS) $(TARGET).a $(OBJ)
177 173

  
......
181 177

  
182 178
# we should fine a better way to do this.....
183 179
bayboard:
184
	avr-gcc *.c -DBAYBOARD -mmcu=atmega164p -I. -DF_CPU=8000000UL -DROBOT -I../../../../code/lib/include/libbayboard \
185
			-L../../../../code/lib/bin/bayboard -Wall -Wshadow -Wextra -std=gnu99 -MD -MP -MF -c
180
	avr-gcc *.c -DBAYBOARD -mmcu=atmega164p -I. -DF_CPU=8000000UL -DROBOT -I../../../../lib/include/libbayboard \
181
			-L../../../../lib/bin/bayboard -Wall -Wshadow -Wextra -std=gnu99 -MD -MP -MF -c
186 182
	avr-ar rcs $(TARGET).a $(OBJ)
187 183

  
188 184
colonet:

Also available in: Unified diff