-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
42 lines (32 loc) · 916 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
ROOT := ${CURDIR}
CXX := g++
CPPFLAGS := -std=c++17
LIBS := -lsfml-graphics -lsfml-window -lsfml-system
LDFLAGS := -L$(ROOT)/sfml/lib
INCLUDES := -I$(ROOT)/include -I$(ROOT)/sfml/include
all: main.o app.o cloud.o cloud-grabbers.o gui.o scenarios.o
$(CXX) --output lidar-vis \
main.o \
app.o \
cloud.o \
cloud-grabbers.o \
gui.o \
scenarios.o \
$(LDFLAGS) \
$(LIBS)
main.o: src/main.cpp
$(CXX) $(CPPFLAGS) -c src/main.cpp $(INCLUDES)
app.o: src/app.cpp
$(CXX) $(CPPFLAGS) -c src/app.cpp $(INCLUDES)
cloud.o: src/cloud.cpp
$(CXX) $(CPPFLAGS) -c src/cloud.cpp $(INCLUDES)
cloud-grabbers.o: src/cloud-grabbers.cpp
$(CXX) $(CPPFLAGS) -c src/cloud-grabbers.cpp $(INCLUDES)
gui.o: src/gui.cpp
$(CXX) $(CPPFLAGS) -c src/gui.cpp $(INCLUDES)
scenarios.o: src/scenarios.cpp
$(CXX) $(CPPFLAGS) -c src/scenarios.cpp $(INCLUDES)
install:
cp ./lidar-vis /usr/local/bin
clean:
rm -f *.o src/*.o lidar-vis