![]() ![]() | ![]() |
File: [local] / OpenXM / src / ox_ntl / crypt / sha1 / Makefile (download)
Revision 1.5, Mon Sep 20 00:10:24 2004 UTC (19 years, 11 months ago) by iwane
include <inttypes.h> |
# $OpenXM: OpenXM/src/ox_ntl/crypt/sha1/Makefile,v 1.5 2004/09/20 00:10:24 iwane Exp $ CXX ?= g++ CC ?= gcc RM ?= /bin/rm -f CP ?= /bin/cp OpenXM_HOME ?= ${PWD}/../../../.. PREFIX=$(OpenXM_HOME) CFLAGS += -g -Wall CXXFLAGS += -g -Wall -D_WITH_NTL_ CPPFLAGS = -I$(PREFIX)/include .SUFFIXES: .cpp .o .c SRCC=sha1.c sha1test.c SRCP=ntlsha.cpp OBJC=$(SRCC:.c=.o) PROGS=sha1test all: $(PROGS) $(PROGS): $(OBJC) $(CC) $(CFLAGS) $(LDFLAGS) $(OBJC) -o $@ .cpp.o: $(CXX) $(CXXFLAGS) $(CPPFLAGS) -c $< -o $@ .c.o: $(CC) $(CFLAGS) $(CPPFLAGS) -c $< -o $@ clean: -$(RM) $(OBJC) $(PROGS) ntlsha.cpp: sha1.h