author | František Kučera <franta-hg@frantovo.cz> |
Sat, 08 Sep 2018 19:43:08 +0200 | |
branch | v_0 |
changeset 2 | 57cba55241ed |
parent 1 | 6c083a96dcca |
permissions | -rw-r--r-- |
0
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1 |
# |
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
2 |
# Generated Makefile - do not edit! |
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
3 |
# |
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
4 |
# Edit the Makefile in the project folder instead (../Makefile). Each target |
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
5 |
# has a -pre and a -post target defined where you can add customized code. |
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
6 |
# |
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
7 |
# This makefile implements configuration specific macros and targets. |
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
8 |
|
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
9 |
|
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
10 |
# Environment |
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
11 |
MKDIR=mkdir |
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
12 |
CP=cp |
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
13 |
GREP=grep |
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
14 |
NM=nm |
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
15 |
CCADMIN=CCadmin |
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
16 |
RANLIB=ranlib |
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
17 |
CC=gcc |
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
18 |
CCC=g++ |
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
19 |
CXX=g++ |
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
20 |
FC=gfortran |
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
21 |
AS=as |
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
22 |
|
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
23 |
# Macros |
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
24 |
CND_PLATFORM=GNU-Linux |
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
25 |
CND_DLIB_EXT=so |
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
26 |
CND_CONF=Debug |
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
27 |
CND_DISTDIR=dist |
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
28 |
CND_BUILDDIR=build |
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
29 |
|
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
30 |
# Include project Makefile |
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
31 |
include Makefile |
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
32 |
|
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
33 |
# Object Directory |
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
34 |
OBJECTDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM} |
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
35 |
|
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
36 |
# Object Files |
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
37 |
OBJECTFILES= \ |
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
38 |
${OBJECTDIR}/protocol.o |
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
39 |
|
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
40 |
|
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
41 |
# C Compiler Flags |
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
42 |
CFLAGS= |
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
43 |
|
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
44 |
# CC Compiler Flags |
1
6c083a96dcca
add AddressSanitizer (ASan): -fsanitize=address
František Kučera <franta-hg@frantovo.cz>
parents:
0
diff
changeset
|
45 |
CCFLAGS=-fsanitize=address |
6c083a96dcca
add AddressSanitizer (ASan): -fsanitize=address
František Kučera <franta-hg@frantovo.cz>
parents:
0
diff
changeset
|
46 |
CXXFLAGS=-fsanitize=address |
0
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
47 |
|
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
48 |
# Fortran Compiler Flags |
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
49 |
FFLAGS= |
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
50 |
|
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
51 |
# Assembler Flags |
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
52 |
ASFLAGS= |
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
53 |
|
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
54 |
# Link Libraries and Options |
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
55 |
LDLIBSOPTIONS= |
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
56 |
|
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
57 |
# Build Targets |
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
58 |
.build-conf: ${BUILD_SUBPROJECTS} |
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
59 |
"${MAKE}" -f nbproject/Makefile-${CND_CONF}.mk ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/librelpipe-lib-protocol.cpp.${CND_DLIB_EXT} |
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
60 |
|
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
61 |
${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/librelpipe-lib-protocol.cpp.${CND_DLIB_EXT}: ${OBJECTFILES} |
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
62 |
${MKDIR} -p ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM} |
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
63 |
${LINK.cc} -o ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/librelpipe-lib-protocol.cpp.${CND_DLIB_EXT} ${OBJECTFILES} ${LDLIBSOPTIONS} -shared -fPIC |
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
64 |
|
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
65 |
${OBJECTDIR}/protocol.o: protocol.cpp |
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
66 |
${MKDIR} -p ${OBJECTDIR} |
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
67 |
${RM} "$@.d" |
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
68 |
$(COMPILE.cc) -g -fPIC -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/protocol.o protocol.cpp |
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
69 |
|
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
70 |
# Subprojects |
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
71 |
.build-subprojects: |
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
72 |
|
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
73 |
# Clean Targets |
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
74 |
.clean-conf: ${CLEAN_SUBPROJECTS} |
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
75 |
${RM} -r ${CND_BUILDDIR}/${CND_CONF} |
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
76 |
|
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
77 |
# Subprojects |
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
78 |
.clean-subprojects: |
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
79 |
|
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
80 |
# Enable dependency checking |
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
81 |
.dep.inc: .depcheck-impl |
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
82 |
|
0f855036489e
common definitions of constants and types
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
83 |
include .dep.inc |