[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / OpenXM / src / ox_ntl / crypt / cast5

File: [local] / OpenXM / src / ox_ntl / crypt / cast5 / Makefile (download)

Revision 1.1, Thu Jul 15 14:51:42 2004 UTC (20 years ago) by iwane
Branch: MAIN

added cast-128 encryption algorithm

# $OpenXM: OpenXM/src/ox_ntl/crypt/cast5/Makefile,v 1.1 2004/07/15 14:51:42 iwane Exp $

CXX ?= g++
CC  ?= gcc

RM ?= /bin/rm
CP ?= /bin/cp

OpenXM_HOME ?= ${PWD}/../../../..
PREFIX=$(OpenXM_HOME)

CFLAGS   += -g -Wall -DHAVE_CONFIG_H
CXXFLAGS += -g -Wall -D_WITH_NTL_
CPPFLAGS  = -I$(PREFIX)/include -I../..

.SUFFIXES: .cpp .o .c

SRCC=cast5.c casttest.c
SRCP=

OBJC=$(SRCC:.c=.o)

PROGS=cast128

all: $(PROGS)

$(PROGS): $(OBJC)
	$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $(OBJC) -o $@


.cpp.o:
	$(CXX) $(CXXFLAGS) $(CPPFLAGS) -c $< -o $@

.c.o:
	$(CC) $(CFLAGS) $(CPPFLAGS) -c $< -o $@

clean:
	-$(RM) -f $(OBJC) $(PROGS)