forked from JanekOstendorf/THOMAS-Client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
29 lines (20 loc) · 796 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
CPPARGS= -std=c++11 -pthread
LINKERARGS= -pthread
all: main.o THOMASException.o TCPClient.o Joystick.o JoystickControl.o
g++ THOMASException.o TCPClient.o Joystick.o JoystickControl.o main.o -o thomas-client $(LINKERARGS)
test: test.o THOMASException.o TCPClient.o
g++ THOMASException.o TCPClient.o test.o -o test $(LINKERARGS)
test.o: test.cpp
g++ -c test.cpp $(CPPARGS)
main.o: main.cpp
g++ -c main.cpp $(CPPARGS)
TCPClient.o: TCPClient.cpp TCPClient.h
g++ -c TCPClient.cpp $(CPPARGS)
Joystick.o: Joystick.cpp Joystick.h
g++ -c Joystick.cpp $(CPPARGS)
JoystickControl.o: JoystickControl.cpp JoystickControl.h
g++ -c JoystickControl.cpp $(CPPARGS)
THOMASException.o: THOMASException.cpp THOMASException.h
g++ -c THOMASException.cpp $(CPPARGS)
clean:
rm -rf ./*.o thomas-client