Project

General

Profile

Revision 950

Updated makefile to compile binaries for simulator.

View differences:

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
BRANCH_HOME = ../../..
6
INCLUDE = $(BRANCH_HOME)/lib/include/libdragonfly
7
OUTPUT = $(BRANCH_HOME)/lib/bin
5
CODE_HOME = ../../..
6
INCLUDE = $(CODE_HOME)/lib/include/libdragonfly
7
OUTPUT = $(CODE_HOME)/lib/bin
8 8

  
9 9
OBJ = $(SRC:.c=.o)
10 10

  
......
13 13
AR = ar
14 14
LDFLAGS = 
15 15
RM = rm
16
CP = cp
16 17

  
17 18
TARGET = libsim
18 19

  
......
25 26
clean:
26 27
	$(RM) $(OBJ) $(TARGET).a
27 28

  
29
dist: all
30
	$(CP) $(TARGET).a $(OUTPUT)

Also available in: Unified diff