![]() ![]() | ![]() |
File: [local] / OpenXM / src / ox_ntl / crypt / rsa / Makefile (download)
Revision 1.1, Sun May 16 15:04:54 2004 UTC (20 years, 3 months ago) by iwane
added RSA Cryptography |
# $OpenXM: OpenXM/src/ox_ntl/crypt/rsa/Makefile,v 1.1 2004/05/16 15:04:54 iwane Exp $ # OpenXM_HOME=${PWD}/../../.. CPP=g++ CC =gcc RM =/bin/rm CP =/bin/cp CFLAGS=-I$(PREFIX)/include -g -Wall CPPFLAGS=$(CFLAGS) PREFIX=$(OpenXM_HOME) NTL_LIBDIR=$(PREFIX)/lib/NTL LIBDIR=$(PREFIX)/lib LDFLAGS=-L$(LIBDIR) -L$(NTL_LIBDIR) .SUFFIXES: .cpp .o .c SRCC= SRCP=ntlrsa.cpp ntlrsatest.cpp PROG=rsa OBJC=$(SRCP:.cpp=.o) all: rsa $(PROG): $(OBJC) $(CPP) $(CPPFLAGS) $(LDFLAGS) $(OBJC) -o $@ -lntl -lgmp .cpp.o: $(CPP) $(CPPFLAGS) -c $< -o $@ .c.o: $(CC) $(CFLAGS) -c $< -o $@ clean: -$(RM) -f $(OBJC) $(PROG)