📄 makefile.in
字号:
# Converted to use GNU autoconf configure script by warme 01/11/99.# Make supportSHELL = /bin/sh# Various Programs and options we use:CC = @CC@CFLAGS = @CFLAGS@ @GCC_FLOAT_STORE@YACC = @YACC@LEX = @LEX@LEXLIB = @LEXLIB@RANLIB = @RANLIB@#should be OK in most situations:#CFLAGS= -O## HP/UX 9.0X optimized code#CFLAGS= +O3 +Oaggressive +Olibcalls -Aa -D_POSIX_SOURCE -DCHECK +FP VZOUiD# HP/UX 9.0X debugging#CFLAGS= -g -Aa -D_POSIX_SOURCE -DCHECK +FP VZOUiD## nice for gcc#CFLAGS= -O3 -Wall -pedantic -ansi#CFLAGS= -g -Wall -pedantic -ansi# Option -DCHECK checks for numerical problems during rounding of numbers.# It will slow things down a bit.# You can add a -DREAL=<float type> to the CFLAGS, to change the default float# type used in lp_solve (double) to float or 'long double'. However, type float# might be fast on your computer, but it is not accurate enough to solve even# moderately sized problems without running into numerical problems.# The use of long doubles does increase the numerical stability of lp_solve,# if your compiler actually implements them with more bits than a double. But# it slows down things quite a bit.#ANSI math lib#MATHLIB= -lM#non-ANSI math lib, should also workMATHLIB= -lmLPKSRC.c= lpkit.c solve.c debug.c read.c readmps.c hash.c presolve.c lpbinio.cLEXFILE.l= lex.lYACCFILE.y= lp.yTESTFILES= lp_examples/ex1.lp lp_examples/ex2.lp lp_examples/ex3.lp lp_examples/ex4.lp lp_examples/ex5.lp lp_examples/ex6.lp lp_examples/ex7.lp# libLPS.a contains only the stuff needed by GeoSteiner.TARGET = lp_solveLPKLIB = liblpk.aLPSLIB = libLPS.aLEXFILE.c= $(LEXFILE.l:.l=.c)YACCFILE.c= $(YACCFILE.y:.y=.c)YACCFILE.o= $(YACCFILE.y:.y=.o)CSOURCES=lpkit.c solve.c debug.c read.c readmps.c lp_solve.c demo.c hash.c presolve.c $(LEXFILE.c) $(YACCFILE.c) lpbinio.cCOBJ=$(CSOURCES:.c=.o)LPKSRC= $(LPKSRC.c) $(YACCFILE.c)LPKOBJ= $(LPKSRC:.c=.o)# Files needed by GeoSteiner:LPSSRC = lpkit.c solve.c debug.c presolve.c hash.c lpbinio.cLPSOBJ = $(LPSSRC:.c=.o)HEADERS=lpkit.h lpglob.h patchlevel.h debug.h read.h hash.hall: demo $(TARGET) lp2mps mps2lp $(LPSLIB)$(COBJ): $(HEADERS)demo: demo.o $(LPKLIB) $(CC) -o demo $(CFLAGS) demo.o $(LPKLIB) $(LEXLIB) $(MATHLIB)lp2mps: lp2mps.o $(LPKLIB) $(CC) -o lp2mps $(CFLAGS) lp2mps.o $(LPKLIB) $(LEXLIB) $(MATHLIB)mps2lp: mps2lp.o $(LPKLIB) $(CC) -o mps2lp $(CFLAGS) mps2lp.o $(LPKLIB) $(LEXLIB) $(MATHLIB)$(TARGET): lp_solve.o $(LPKLIB) $(CC) -o $(TARGET) $(CFLAGS) lp_solve.o $(LPKLIB) $(LEXLIB) $(MATHLIB)$(LPKLIB): $(LPKOBJ) ar rv $@ $(LPKOBJ) $(RANLIB) $(LPKLIB)$(LPSLIB): $(LPSOBJ) ar rv $@ $(LPSOBJ) $(RANLIB) $(LPSLIB)$(YACCFILE.o): $(LEXFILE.c)$(LEXFILE.c): $(LEXFILE.l) $(LEX) $(LEXFILE.l) mv lex.yy.c $(LEXFILE.c)$(YACCFILE.c): $(YACCFILE.y) $(YACC) $(YACCFILE.y) mv y.tab.c $(YACCFILE.c)test: -for i in $(TESTFILES); do\ ./$(TARGET) -p -s -time < $$i > xxx.tmp;\ if diff xxx.tmp lp_examples/`basename $$i .lp`.out > /dev/null; then\ echo "$$i gives the correct result";\ else\ echo "*** $$i gives different result, please check ***";\ fi;\ done;\ rm xxx.tmp$(TARGET).man: $(TARGET).1 nroff -man $(TARGET).1 > $(TARGET).manclean: rm -f *.a *.o TAGS $(LEXFILE.c) $(YACCFILE.c) demo $(TARGET) lp2mps mps2lp .pure .softdebughist datafiledistclean : clean -rm -f Makefile config.cache config.h config.log config.status
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -