Revision 942
Simulator library compiles but doesn't do anything.
Makefile | ||
---|---|---|
2 | 2 |
eeprom.c encoders.c lcd.c i2c.c libsim.c motors.c \ |
3 | 3 |
move.c orbs.c rangefinder.c reset.c serial.c spi.c |
4 | 4 |
|
5 |
OBJ = $(SRC:.c=.o)) |
|
5 |
BRANCH_HOME = ../../.. |
|
6 |
INCLUDE = $(BRANCH_HOME)/lib/include/libdragonfly |
|
7 |
OUTPUT = $(BRANCH_HOME)/lib/bin |
|
6 | 8 |
|
9 |
OBJ = $(SRC:.c=.o) |
|
10 |
|
|
7 | 11 |
CC = gcc |
8 |
CFLAGS = -Wall -O0 |
|
12 |
CFLAGS = -Wall -O0 -I$(INCLUDE)
|
|
9 | 13 |
AR = ar |
10 | 14 |
LDFLAGS = |
15 |
RM = rm |
|
11 | 16 |
|
12 | 17 |
TARGET = libsim |
13 | 18 |
|
... | ... | |
16 | 21 |
|
17 | 22 |
%.o: %.c |
18 | 23 |
$(CC) -c $(CFLAGS) $< -o $@ |
24 |
|
|
25 |
clean: |
|
26 |
$(RM) $(OBJ) $(TARGET).a |
|
27 |
|
Also available in: Unified diff