Project

General

Profile

Revision 887

Updated trunk branch of wireless... Still won't work though because of Makefile.

View differences:

Makefile
1 1
############################
2 2
### Update this Section ####
3 3
############################
4

  
5 4
COLONYROOT = ../../../..
6 5

  
7 6
# Target file name (without extension).
......
9 8
COLONET_TARGET = libwireless_colonet
10 9

  
11 10
############################
11
# don't touch this unless you know what you're doing.
12 12

  
13 13
CDEFS = 
14 14

  
......
179 179
	gcc *.c -Wall -Wshadow -Wextra -g -I. -c
180 180
	ar rcs $(TARGET).a $(OBJ)
181 181

  
182
# we should fine a better way to do this.....
183
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
186
	avr-ar rcs $(TARGET).a $(OBJ)
187

  
182 188
colonet:
183 189
	g++ -Wall -Wshadow -Wextra *.c -g -I. -c
184 190
	ar rcs $(COLONET_TARGET).a $(OBJ)

Also available in: Unified diff