Annotation of OpenXM/src/ox_ntl/crypt/blowfish/Makefile, Revision 1.2
1.2 ! iwane 1: # $OpenXM: OpenXM/src/ox_ntl/crypt/blowfish/Makefile,v 1.1 2004/07/22 12:12:05 iwane Exp $
1.1 iwane 2:
3: CXX ?= g++
4: CC ?= gcc
5:
1.2 ! iwane 6: RM ?= /bin/rm -f
1.1 iwane 7: CP ?= /bin/cp
8:
9: OpenXM_HOME ?= ${PWD}/../../../..
10: PREFIX=$(OpenXM_HOME)
11:
12: CFLAGS += -g -Wall
13: CXXFLAGS += -g -Wall -D_WITH_NTL_
14: CPPFLAGS =
15:
16: .SUFFIXES: .cpp .o .c
17:
18: SRCC=blowfish.c bftest.c
19: SRCP=
20:
21: OBJC=$(SRCC:.c=.o)
22:
23: PROGS=blowfish
24:
25: all: $(PROGS)
26:
27: $(PROGS): $(OBJC)
28: $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $(OBJC) -o $@
29:
30:
31: .cpp.o:
32: $(CXX) $(CXXFLAGS) $(CPPFLAGS) -c $< -o $@
33:
34: .c.o:
35: $(CC) $(CFLAGS) $(CPPFLAGS) -c $< -o $@
36:
37: clean:
1.2 ! iwane 38: -$(RM) $(OBJC) $(PROGS)
1.1 iwane 39:
1.2 ! iwane 40:
! 41: blowfish.o: blowfish.h bf_tbl.h
! 42: bftest.o: blowfish.h
1.1 iwane 43:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>