-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile_cpx
More file actions
34 lines (26 loc) · 1.59 KB
/
Copy pathmakefile_cpx
File metadata and controls
34 lines (26 loc) · 1.59 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
##############################################################################
############################## makefile_cpx ##################################
##############################################################################
# #
# makefile of cpx_pars #
# #
# Antonio Frangioni #
# Dipartimento di Informatica #
# Universita' di Pisa #
# #
##############################################################################
# module name
CPX_PARS = cpx_pars
# define & include the necessary modules- - - - - - - - - - - - - - - - - - -
# each module outputs some macros to be used here:
# *LIB is the external libraries + -L< libdirs >
# *INC is the -I< include directories >
# include makefile libCPLEX
include $(DIR)/../../extlib/makefile-libCPLEX
# main module (linking phase) - - - - - - - - - - - - - - - - - - - - - - - -
$(CPX_PARS): $(DIR)/$(CPX_PARS).o
$(CC) -o $(DIR)/$(CPX_PARS) $(DIR)/$(CPX_PARS).o $(libCPLEXLIB) $(SW)
# compile command - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
$(DIR)/$(CPX_PARS).o: $(DIR)/$(CPX_PARS).cpp
$(CC) -c $*.cpp -o $@ $(libCPLEXINC) $(SW)
########################## End of makefile_cpx ###############################