[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / OpenXM / src / ox_maple

Diff for /OpenXM/src/ox_maple/Makefile between version 1.5 and 1.6

version 1.5, 2008/09/19 13:01:05 version 1.6, 2013/10/18 01:33:08
Line 1 
Line 1 
 # $OpenXM$  # $OpenXM: OpenXM/src/ox_maple/Makefile,v 1.5 2008/09/19 13:01:05 iwane Exp $
   
 PROG=ox_maple  PROG=ox_maple
   
Line 10  MAKE ?= make
Line 10  MAKE ?= make
 CFLAGS += -Wall -g -O2 -I$(OpenXM_HOME)/include -I$(OpenXM_HOME)/src/ox_ntl -I$(MAPLE)/extern/include  CFLAGS += -Wall -g -O2 -I$(OpenXM_HOME)/include -I$(OpenXM_HOME)/src/ox_ntl -I$(MAPLE)/extern/include
   
   
 LIBS_MPL= -L$(MAPLE)/bin.IBM_INTEL_LINUX -lmaplec  LIBS_MPL= -L$(MAPLE)/bin.IBM_INTEL_LINUX -lmaplec -Wl,--no-as-needed -lrt
 LIBS= -loxsv -lox -lgmp -lgc  LIBS= -loxsv -lox -lgmp -lgc
 LDFLAGS= -L$(OpenXM_HOME)/lib  LDFLAGS= -L$(OpenXM_HOME)/lib
   
Line 19  DEFS += -D__GMP_FALE_H__
Line 19  DEFS += -D__GMP_FALE_H__
   
 .SUFFIXES: .o .c  .SUFFIXES: .o .c
   
   
 SRCC= m2c.c c2m.c oxmaples.c  SRCC= m2c.c c2m.c oxmaples.c
   
 OBJC = $(SRCC:.c=.o)  OBJC = $(SRCC:.c=.o)
   
 all:: $(PROG) libsimple.so  libsimple2.so  all:: $(PROG) libsimple.so  libsimple2.so
   
 $(PROG): $(OBJC) main.o  $(PROG): $(OBJC) main.o $(OpenXM_HOME)/lib/liboxsv.so
         $(CC) $(OBJC) main.o -o $@ $(LIBS_MPL) $(LDFLAGS) $(LIBS)          $(CC) $(OBJC) main.o -o $@ $(LIBS_MPL) $(LDFLAGS) $(LIBS)
   
   $(OpenXM_HOME)/lib/liboxsv.so:
           (cd ../ox_ntl; make liboxsv.so && make install_lib)
   
 .c.o:  .c.o:
         $(CC) $(CFLAGS) -c $< $(DEFS)          $(CC) $(CFLAGS) -c $< $(DEFS)
   
   
 clean:  clean:
         -$(RM) -f $(OBJC)  main.o local.o          -$(RM) -f $(OBJC)  main.o local.o

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>