Revision 39210bf7205ccb542ee2a218f0876e30355c32dd authored by Mohamed Barakat on 06 October 2016, 20:31:04 UTC, committed by Mohamed Barakat on 06 October 2016, 20:31:04 UTC
1 parent 7d5867f
Makefile.in
# sample makefile
CXX=g++
targets: default
# this target creates a bin-directory
bindir:
mkdir -p bin/@GAPARCH@
default: bindir bin/@GAPARCH@/polymake_main.so
bin/@GAPARCH@/polymake_data.o: src/polymake_data.cpp src/polymake_data.h src/loadgap.h
cp $(GAPPATH)/bin/@GAPARCH@/config.h bin/@GAPARCH@/
$(CXX) $(PM_CFLAGS) -fPIC -Wall -O0 -g -pipe @EXTRA_COPTS@ -o bin/@GAPARCH@/polymake_data.o -I$(GAPPATH)/bin/@GAPARCH@/extern/gmp/include -I$(GAPPATH)/bin/@GAPARCH@/../.. -I$(GAPPATH)/bin/@GAPARCH@ -DCONFIG_H -c src/polymake_data.cpp
bin/@GAPARCH@/polymake_fktn.o: src/polymake_fktn.cpp src/polymake_fktn.h src/loadgap.h src/polymake_data.h
cp $(GAPPATH)/bin/@GAPARCH@/config.h bin/@GAPARCH@/
$(CXX) $(PM_CFLAGS) -fPIC -Wall -O0 -g -pipe @EXTRA_COPTS@ -o bin/@GAPARCH@/polymake_fktn.o -I$(GAPPATH)/bin/@GAPARCH@/extern/gmp/include -I$(GAPPATH)/bin/@GAPARCH@/../.. -I$(GAPPATH)/bin/@GAPARCH@ -DCONFIG_H -c src/polymake_fktn.cpp
bin/@GAPARCH@/polymake_fan.o: src/polymake_fan.cpp src/polymake_fan.h src/loadgap.h src/polymake_data.h
cp $(GAPPATH)/bin/@GAPARCH@/config.h bin/@GAPARCH@/
$(CXX) $(PM_CFLAGS) -fPIC -Wall -O0 -g -pipe @EXTRA_COPTS@ -o bin/@GAPARCH@/polymake_fan.o -I$(GAPPATH)/bin/@GAPARCH@/extern/gmp/include -I$(GAPPATH)/bin/@GAPARCH@/../.. -I$(GAPPATH)/bin/@GAPARCH@ -DCONFIG_H -c src/polymake_fan.cpp
bin/@GAPARCH@/polymake_tropical.o: src/polymake_tropical.cpp src/polymake_tropical.h src/loadgap.h src/polymake_data.h
cp $(GAPPATH)/bin/@GAPARCH@/config.h bin/@GAPARCH@/
$(CXX) $(PM_CFLAGS) -fPIC -Wall -O0 -g -pipe @EXTRA_COPTS@ -o bin/@GAPARCH@/polymake_tropical.o -I$(GAPPATH)/bin/@GAPARCH@/extern/gmp/include -I$(GAPPATH)/bin/@GAPARCH@/../.. -I$(GAPPATH)/bin/@GAPARCH@ -DCONFIG_H -c src/polymake_tropical.cpp
bin/@GAPARCH@/polymake_cone.o: src/polymake_cone.cpp src/polymake_cone.h src/loadgap.h src/polymake_data.h
cp $(GAPPATH)/bin/@GAPARCH@/config.h bin/@GAPARCH@/
$(CXX) $(PM_CFLAGS) -fPIC -Wall -O0 -g -pipe @EXTRA_COPTS@ -o bin/@GAPARCH@/polymake_cone.o -I$(GAPPATH)/bin/@GAPARCH@/extern/gmp/include -I$(GAPPATH)/bin/@GAPARCH@/../.. -I$(GAPPATH)/bin/@GAPARCH@ -DCONFIG_H -c src/polymake_cone.cpp
bin/@GAPARCH@/polymake_polytopes.o: src/polymake_polytopes.cpp src/polymake_polytopes.h src/loadgap.h src/polymake_data.h
cp $(GAPPATH)/bin/@GAPARCH@/config.h bin/@GAPARCH@/
$(CXX) $(PM_CFLAGS) -fPIC -Wall -O0 -g -pipe @EXTRA_COPTS@ -o bin/@GAPARCH@/polymake_polytopes.o -I$(GAPPATH)/bin/@GAPARCH@/extern/gmp/include -I$(GAPPATH)/bin/@GAPARCH@/../.. -I$(GAPPATH)/bin/@GAPARCH@ -DCONFIG_H -c src/polymake_polytopes.cpp
bin/@GAPARCH@/polymake_main.o: src/polymake_main.cpp src/polymake_fktn.h src/polymake_tropical.h src/polymake_polytopes.h src/loadgap.h src/polymake_data.h src/polymake_cone.h src/polymake_fan.h
cp $(GAPPATH)/bin/@GAPARCH@/config.h bin/@GAPARCH@/
$(CXX) $(PM_CFLAGS) -fPIC -Wall -O0 -g -pipe @EXTRA_COPTS@ -o bin/@GAPARCH@/polymake_main.o -I$(GAPPATH)/bin/@GAPARCH@/extern/gmp/include -I$(GAPPATH)/bin/@GAPARCH@/../.. -I$(GAPPATH)/bin/@GAPARCH@ -DCONFIG_H -c src/polymake_main.cpp
clean:
rm -rf bin Makefile
(cd doc ; ./clean)
doc: doc/manual.six
doc/manual.six: makedoc.g \
PackageInfo.g \
doc/*.xml doc/*.css \
gap/*.gd gap/*.gi
gap makedoc.g
test: doc
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...