Repository navigation
Expand file tree
/
Copy pathmakefile_pips
More file actions
34 lines (27 loc) · 1.81 KB
/
Copy pathmakefile_pips
File metadata and controls
34 lines (27 loc) · 1.81 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_pips #################################
##############################################################################
# #
# makefile of pips_pars #
# #
# Antonio Frangioni #
# Dipartimento di Informatica #
# Universita' di Pisa #
# #
# Enrico Calandrini #
# Dipartimento di Matematica #
# Universita' di Pisa #
# #
##############################################################################
# module name
PIPS_PARS = pips_pars
# define & include the necessary modules- - - - - - - - - - - - - - - - - - -
# pips_pars is a standalone source parser: it does not link PIPS-IPM++.
# It only needs the standard C++ library and the usual project compiler flags.
# main module (linking phase) - - - - - - - - - - - - - - - - - - - - - - - -
$(PIPS_PARS): $(DIR)/$(PIPS_PARS).o
$(CC) -o $(PIPS_PARS) $(DIR)/$(PIPS_PARS).o $(SW)
# compile command - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
$(DIR)/$(PIPS_PARS).o: $(DIR)/$(PIPS_PARS).cpp
$(CC) -c $*.cpp -o $@ $(SW)
########################## End of makefile_pips ##############################