2019-03-25 09:18:06 +11:00
|
|
|
all: connections.o main.o mainloop-api.o socket.o
|
|
|
|
g++ connections.o main.o mainloop-api.o socket.o
|
|
|
|
|
|
|
|
connections.o: connections.cpp
|
|
|
|
g++ -c connections.cpp
|
|
|
|
|
|
|
|
main.o: main.cpp
|
|
|
|
g++ -c main.cpp
|
|
|
|
|
|
|
|
mainloop-api.o: lib/mainloop-api/mainloop-api.cpp
|
|
|
|
g++ -c lib/mainloop-api/mainloop-api.cpp -o mainloop-api.o
|
|
|
|
|
|
|
|
socket.o: lib/socket/socket.cpp
|
|
|
|
g++ -c lib/socket/socket.cpp -o socket.o
|
|
|
|
|
2019-03-25 09:44:00 +11:00
|
|
|
lib/mainloop-api/mainloop-api.cpp:
|
|
|
|
git submodule update --init
|
|
|
|
|
2019-03-25 09:18:06 +11:00
|
|
|
clean:
|
|
|
|
rm *.o
|