Annotation of OpenXM/src/ox_ntl/crypt/rsa/Makefile, Revision 1.1
1.1 ! iwane 1: # $OpenXM$
! 2:
! 3: # OpenXM_HOME=${PWD}/../../..
! 4:
! 5: CPP=g++
! 6: CC =gcc
! 7:
! 8: RM =/bin/rm
! 9: CP =/bin/cp
! 10:
! 11: CFLAGS=-I$(PREFIX)/include -g -Wall
! 12: CPPFLAGS=$(CFLAGS)
! 13:
! 14: PREFIX=$(OpenXM_HOME)
! 15:
! 16: NTL_LIBDIR=$(PREFIX)/lib/NTL
! 17: LIBDIR=$(PREFIX)/lib
! 18:
! 19: LDFLAGS=-L$(LIBDIR) -L$(NTL_LIBDIR)
! 20:
! 21: .SUFFIXES: .cpp .o .c
! 22:
! 23: SRCC=
! 24: SRCP=ntlrsa.cpp ntlrsatest.cpp
! 25:
! 26: PROG=rsa
! 27: OBJC=$(SRCP:.cpp=.o)
! 28:
! 29: all: rsa
! 30:
! 31:
! 32: $(PROG): $(OBJC)
! 33: $(CPP) $(CPPFLAGS) $(LDFLAGS) $(OBJC) -o $@ -lntl -lgmp
! 34:
! 35:
! 36: .cpp.o:
! 37: $(CPP) $(CPPFLAGS) -c $< -o $@
! 38:
! 39: .c.o:
! 40: $(CC) $(CFLAGS) -c $< -o $@
! 41:
! 42: clean:
! 43: -$(RM) -f $(OBJC) $(PROG)
! 44:
! 45:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>