source: git/IntegerProgramming/Makefile.in @ 6ba162

spielwiese
Last change on this file since 6ba162 was 6ba162, checked in by Hans Schönemann <hannes@…>, 23 years ago
This commit was generated by cvs2svn to compensate for changes in r4282, which included commits to RCS files with non-trunk default branches. git-svn-id: file:///usr/local/Singular/svn/trunk@4283 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 1.6 KB
Line 
1## Makefile for integer programming
2
3##
4## various paths
5##
6bindir          = @bindir@
7
8##
9## various programs
10##
11@SET_MAKE@
12CXX             = @CXX@
13INSTALL         = ../install-sh -c
14INSTALL_PROGRAM = ../install-sh -c
15MKINSTALLDIRS   = ../mkinstalldirs
16
17##
18## compiler and linker options
19##
20CXXFLAGS        = @CXXFLAGS@
21LDFLAGS         = @LDFLAGS@ -lgmp
22
23
24MAIN1   := solve_IP
25OBJECTS1:= $(MAIN1).o
26
27MAIN2   := change_cost
28OBJECTS2:= $(MAIN2).o
29
30MAIN3   := toric_ideal
31OBJECTS3:= $(MAIN3).o
32
33MAIN4   := gen_test
34OBJECTS4:= $(MAIN4).o
35
36%.o: %.cc
37        $(CXX) $(CXXFLAGS) -c $< -o $@
38
39all: $(MAIN1) $(MAIN2) $(MAIN3) $(MAIN4)
40
41install: $(MAIN1) $(MAIN2) $(MAIN3) $(MAIN4)
42        ${INSTALL_PROGRAM} $(MAIN1) ${bindir}
43        ${INSTALL_PROGRAM} $(MAIN2) ${bindir}
44        ${INSTALL_PROGRAM} $(MAIN3) ${bindir}
45        ${INSTALL_PROGRAM} $(MAIN4) ${bindir}
46
47clean:
48        rm -f *.o *~
49
50distclean: clean
51        rm -f $(MAIN1) $(MAIN2) $(MAIN3) $(MAIN4)
52
53
54$(MAIN1): term_ordering.o binomial.o list.o BigInt.o LLL.o matrix.o \
55        ideal.o \
56        Buchberger.o ideal_stuff.o IP_algorithms.o testdata.o \
57        $(OBJECTS1)
58        $(CXX) $^ -o $@ $(LDFLAGS)
59
60$(MAIN2): term_ordering.o binomial.o list.o BigInt.o LLL.o matrix.o \
61        ideal.o \
62        Buchberger.o ideal_stuff.o IP_algorithms.o testdata.o  \
63        $(OBJECTS2)
64        $(CXX)  $^ -o $@ $(LDFLAGS)
65
66$(MAIN3): term_ordering.o binomial.o list.o BigInt.o LLL.o matrix.o \
67        ideal.o \
68        Buchberger.o ideal_stuff.o IP_algorithms.o testdata.o \
69        $(OBJECTS3)
70        $(CXX)  $^ -o $@ $(LDFLAGS)
71
72$(MAIN4): term_ordering.o binomial.o list.o BigInt.o LLL.o matrix.o \
73        ideal.o \
74        Buchberger.o ideal_stuff.o IP_algorithms.o testdata.o \
75        $(OBJECTS4)
76        $(CXX)  $^ -o $@ $(LDFLAGS)
Note: See TracBrowser for help on using the repository browser.