-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
45 lines (32 loc) · 1.22 KB
/
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
45
OBJS = main.o GUI.o TGdesk_login_dial.o TGdesk_main_frame.o TGdesk_add_car_form.o TGdesk_register_dial.o TGdesk_delete_client_form.o TGdesk_add_client_form.o Backend_API.o TGdesk_Register_QR.o
SOURCE = *.cpp
OUT = a.out
CC = g++
FLAGS = -g -c -Wall `wx-config --cxxflags`
LFLAGS = `wx-config --libs` -lcurl -L/usr/include -ljsoncpp
all: $(OBJS)
$(CC) -g $(OBJS) -o $(OUT) $(LFLAGS)
main.o: main.cpp
$(CC) $(FLAGS) main.cpp
GUI.o: GUI.cpp
$(CC) $(FLAGS) GUI.cpp
TGdesk_login_dial.o: TGdesk_login_dial.cpp TGdesk_login_dial.h
$(CC) $(FLAGS) TGdesk_login_dial.cpp
TGdesk_register_dial.o: TGdesk_register_dial.cpp
$(CC) $(FLAGS) TGdesk_register_dial.cpp
TGdesk_main_frame.o: TGdesk_main_frame.cpp
$(CC) $(FLAGS) TGdesk_main_frame.cpp
TGdesk_add_car_form.o: TGdesk_add_car_form.cpp
$(CC) $(FLAGS) TGdesk_add_car_form.cpp
TGdesk_add_client_form.o: TGdesk_add_client_form.cpp
$(CC) $(FLAGS) TGdesk_add_client_form.cpp
TGdesk_delete_client_form.o: TGdesk_delete_client_form.cpp
$(CC) $(FLAGS) TGdesk_delete_client_form.cpp
Backend_API.o: Backend_API.cpp
$(CC) $(FLAGS) Backend_API.cpp
TGdesk_Register_QR.o: TGdesk_Register_QR.cpp
$(CC) $(FLAGS) TGdesk_Register_QR.cpp
clean:
rm -f $(OBJS) $(OUT)
run: $(OUT)
./$(OUT)