Project

General

Profile

Revision 340

We're ready to do a two robot autonomous recharging video with run around, aside from some docking problems. There seem to be wireless issues with three robots, however.

View differences:

Makefile
155 155

  
156 156
# Combine all necessary flags and optional flags.
157 157
# Add target processor to flags.
158
ALL_CFLAGS = -mmcu=$(MCU) -I. $(CFLAGS) $(GENDEPFLAGS)
158
ALL_CFLAGS = -mmcu=$(MCU) -I. $(CFLAGS) -Wall $(GENDEPFLAGS)
159 159
ALL_ASFLAGS = rcs
160 160

  
161 161
# Default target.
......
176 176
	$(AR) $(ALL_ASFLAGS) $(TARGET).a $(OBJ)
177 177

  
178 178
computer:
179
	gcc *.c -g -I. -c
179
	gcc *.c -Wall -g -I. -c
180 180
	ar rcs $(TARGET).a $(OBJ)
181 181

  
182
colonet:
183
	g++ -Wall -Wshadow -Wextra *.c -g -I. -c
184
	ar rcs $(TARGET).a $(OBJ)
185

  
182 186
# Eye candy.
183 187
# AVR Studio 3.x does not check make's exit code but relies on
184 188
# the following magic strings to be generated by the compile job.

Also available in: Unified diff