-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile_grb
More file actions
34 lines (26 loc) · 1.59 KB
/
Copy pathmakefile_grb
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_grb ##################################
##############################################################################
# #
# makefile of grb_pars #
# #
# Antonio Frangioni #
# Dipartimento di Informatica #
# Universita' di Pisa #
# #
##############################################################################
# module name
GRB_PARS = grb_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 libGUROBI
include $(DIR)/../../extlib/makefile-libGUROBI
# main module (linking phase) - - - - - - - - - - - - - - - - - - - - - - - -
$(GRB_PARS): $(DIR)/$(GRB_PARS).o
$(CC) -o $(GRB_PARS) $(DIR)/$(GRB_PARS).o $(libGUROBILIB) $(SW)
# compile command - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
$(DIR)/$(GRB_PARS).o: $(DIR)/$(GRB_PARS).cpp
$(CC) -c $*.cpp -o $@ $(libGUROBIINC) $(SW)
########################## End of makefile_grb ###############################