=================================================================== RCS file: /home/cvs/OpenXM/src/ox_gsl/Attic/Makefile,v retrieving revision 1.1 retrieving revision 1.3 diff -u -p -r1.1 -r1.3 --- OpenXM/src/ox_gsl/Attic/Makefile 2018/03/29 05:47:11 1.1 +++ OpenXM/src/ox_gsl/Attic/Makefile 2018/03/30 04:43:16 1.3 @@ -1,13 +1,16 @@ -MYLIB=../../lib -MYINCLUDE=../../include +MYLIB=-L../../lib -L/usr/local/lib +MYINCLUDE=-I../../include -I/usr/local/include +CFLAGS=-Wno-attributes +#CFLAGS=-Wno-unknown-attributes all: ox_gsl -ox_gsl: ox_gsl.o - ${CC} -o ox_gsl ox_gsl.o -L${MYLIB} -lox -lgmp -lgc +ox_gsl: ox_gsl.o call_gsl.o + ${CC} ${CFLAGS} -o ox_gsl ox_gsl.o call_gsl.o ${MYLIB} -lgsl -lox -lgmp -lgc -.c.o: - ${CC} -I${MYINCLUDE} -c -g $< +.c.o: ox_gsl.h + ${CC} ${CFLAGS} ${MYINCLUDE} -c -g $< clean: rm -f *.o *~ ox_gsl +# $OpenXM: OpenXM/src/ox_gsl/Makefile,v 1.2 2018/03/29 11:52:17 takayama Exp $