-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
38 lines (28 loc) · 1.44 KB
/
Makefile
File metadata and controls
38 lines (28 loc) · 1.44 KB
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
all: qtClient moc_output.cpp
CPPFLAGS = -Wall -g -m64 -fPIC
# ==================== Qt includes and libs ===============================
INC += -I$(QT_INC) -I$(QT_INC)/Qt -I$(QT_INC)/QtCore -I$(QT_INC)/QtGui
LIB += -L$(QT_LIB) -lQtCore -lQtGui -lm -lpthread -lcurses -lreadline
# =================== EPICS V3 and V4 includes and libs ====================
INC += -I$(EPICS_V3_DIR)/include \
-I$(EPICS_V3_DIR)/include/compiler/gcc \
-I$(EPICS_V3_DIR)/include/valgrind \
-I$(EPICS_V3_DIR)/include/os/$(HOST_OS) \
-I$(EPICS_V4_DIR)/pvAccessCPP/include \
-I$(EPICS_V4_DIR)/pvDataCPP/include \
-I$(EPICS_V4_DIR)/normativeTypesCPP/include \
-I$(EPICS_V4_DIR)/pvaClientCPP/include \
-I$(EPICS_V4_DIR)/pvCommonCPP/include
LIB += -L$(EPICS_V3_DIR)/lib/$(EPICS_HOST_ARCH) \
-L$(EPICS_V4_DIR)/pvDataCPP/lib/$(EPICS_HOST_ARCH) -lpvData \
-L$(EPICS_V4_DIR)/pvAccessCPP/lib/$(EPICS_HOST_ARCH) -lpvAccess \
-L$(EPICS_V4_DIR)/pvCommonCPP/lib/$(EPICS_HOST_ARCH) -lpvMB \
-L$(EPICS_V4_DIR)/pvaClientCPP/lib/$(EPICS_HOST_ARCH) -lpvaClient \
-L$(EPICS_V4_DIR)/normativeTypesCPP/lib/$(EPICS_HOST_ARCH) -lnt \
-rdynamic -lpthread -lm -lreadline -lrt -ldl -lgcc
qtClient: qtClient.cpp moc_output.cpp
g++ $(CPP_FLAGS) $(INC) $(LIB) -o qtClient qtClient.cpp moc_output.cpp window.cpp
moc_output.cpp: window.h window.cpp
moc -o moc_output.cpp window.h
clean:
rm -f moc_output.cpp qtClient