-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile_highs
More file actions
34 lines (26 loc) · 1.6 KB
/
Copy pathmakefile_highs
File metadata and controls
34 lines (26 loc) · 1.6 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_highs #################################
##############################################################################
# #
# makefile of highs_pars #
# #
# Antonio Frangioni #
# Dipartimento di Informatica #
# Universita' di Pisa #
# #
##############################################################################
# module name
HIGHS_PARS = highs_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 libHiGHS
include $(DIR)/../../extlib/makefile-libHiGHS
# main module (linking phase) - - - - - - - - - - - - - - - - - - - - - - - -
$(HIGHS_PARS): $(DIR)/$(HIGHS_PARS).o
$(CC) -o $(HIGHS_PARS) $(DIR)/$(HIGHS_PARS).o $(libHiGHSLIB) $(SW)
# compile command - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
$(DIR)/$(HIGHS_PARS).o: $(DIR)/$(HIGHS_PARS).cpp
$(CC) -c $*.cpp -o $@ $(libHiGHSINC) $(SW)
######################### End of makefile_highs ##############################