diff -r ee5959aa4410 -r c280de819a73 src/work/athos/lp_old/makefile --- a/src/work/athos/lp_old/makefile Sun Apr 17 18:57:22 2005 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,73 +0,0 @@ -#INCLUDEDIRS ?= -I.. -I. -I./{marci,jacint,alpar,klao,akos} -#GLPKROOT = /usr/local/glpk-4.4 -INCLUDEDIRS ?= -I/home/marci/boost -I/usr/local/cplex/cplex75/include -I../../{marci,alpar,klao,akos,athos} -I. -I../../.. -I../.. -I..# -I$(GLPKROOT)/include -#INCLUDEDIRS ?= -I../.. -I../.. -I../../{marci,jacint,alpar,klao,akos} -I/usr/local/glpk-4.4/include -CXXFLAGS = -g -O2 -W -Wall $(INCLUDEDIRS) -ansi -pedantic -LDFLAGS = -lglpk#-lcplex -lm -lpthread -lilocplex -L/usr/local/cplex/cplex75/lib/i86_linux2_glibc2.2_gcc3.0/static_mt# -L$(GLPKROOT)/lib - -BINARIES = magic_square max_flow_expression #expression_test max_flow_by_lp# sample sample2 sample11 sample15 - -#include ../makefile - -# Hat, ez elismerem, hogy nagyon ronda, de mukodik minden altalam -# ismert rendszeren :-) (Misi) -ifdef GCCVER -CXX := g++-$(GCCVER) -else -CXX := $(shell type -p g++-3.3 || type -p g++-3.2 || type -p g++-3.0 || type -p g++-3 || echo g++) -endif - -ifdef DEBUG -CXXFLAGS += -DDEBUG -endif - -CC := $(CXX) - - -all: $(BINARIES) - -################ -# Minden binarishoz egy sor, felsorolva, hogy mely object file-okbol -# all elo. -# Kiveve ha siman file.cc -> file esetrol van szo, amikor is nem kell -# irni semmit. - -#proba: proba.o seged.o - -################ - - -# .depend dep depend: -# -$(CXX) $(CXXFLAGS) -M $(BINARIES:=.cc) > .depend - -#makefile: .depend -#sinclude .depend -#moert nem megy az eredeti /usr/bin/ld-vel? - -# %: %.o -# $(CXX) -o $@ $< $(LDFLAGS) - -# %.o: %.cc -# $(CXX) $(CXXFLAGS) -c $< - -%: %.cc - $(CXX) $(CXXFLAGS) -o $@ $< $(LDFLAGS) - -sample11prof: sample11prof.o - $(CXX) -pg -o sample11prof sample11prof.o -L$(GLPKROOT)/lib -lglpk -sample11prof.o: sample11.cc - $(CXX) -pg $(CXXFLAGS) -c -o sample11prof.o sample11.cc - -# sample.o: sample.cc -# $(CXX) $(CXXFLAGS) -c -o sample.o sample.cc - -# sample2: sample2.o -# $(CXX) -o sample2 sample2.o -L/usr/local/glpk-4.4/lib -lglpk -# sample2.o: sample2.cc -# $(CXX) $(CXXFLAGS) -c -o sample2.o sample2.cc - - -clean: - $(RM) *.o $(BINARIES) .depend - -.PHONY: all clean dep depend