forked from StevensDeptECE/robosim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
44 lines (30 loc) · 756 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
CXX := g++
DEBUG := # -g
OPT := -O2
COMP := $(CXX) $(DEBUG) $(OBJS) -c
OBJS := airplane.o boat.o car.o config.o quadcopter.o robosim.o \
submarine.o tank.o vec_3d.o world.o
robosim : $(OBJS)
$(CXX) $(DEBUG) $(OBJS) -o robosim
airplane.o : airplane.cc airplane.hh
$(COMP) $<
boat.o : boat.cc boat.hh
$(COMP) $<
car.o : car.cc car.hh
$(COMP) $<
quadcopter.o : quadcopter.cc quadocopter.hh
$(COMP) $<
submarine.o : submarine.cc submarine.hh
$(COMP) $<
robosim.o : robosim.cc robosim.hh
$(COMP) $<
submarine.o : submarine.cc submarine.hh
$(COMP) $<
tank.o : tank.cc tank.hh
$(COMP) $<
vec_3d.o : vec_3d.cc vec_3d.hh
$(COMP) $<
world.o : world.cc world.hh
$(COMP) $<
clean :
rm $(OBJS) robosim