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

Annotation of OpenXM/src/ox_ntl/crypt/sha1/Makefile, Revision 1.2

1.2     ! iwane       1: # $OpenXM: OpenXM/src/ox_ntl/crypt/sha1/Makefile,v 1.1 2004/01/12 13:16:28 iwane Exp $
1.1       iwane       2:
                      3: CPP=g++
                      4: CC =gcc
                      5:
                      6: RM =/bin/rm
                      7: CP =/bin/cp
                      8:
                      9: PREFIX=$(OpenXM_HOME)
                     10:
                     11: CFLAGS=-g -Wall
                     12: CPPFLAGS=$(CFLAGS) -D_WITH_NTL_ -I$(PREFIX)/include
                     13:
                     14:
                     15: .SUFFIXES: .cpp .o .c
                     16:
                     17: SRCC=sha1.c
                     18: SRCP=ntlsha.cpp
                     19:
                     20: OBJC=$(SRCC:.c=.o) $(SRCP:.cpp=.o)
                     21:
                     22: PROGS=sha1
                     23:
                     24: all: $(PROGS)
                     25:
                     26: sha1: $(OBJC)
                     27: #      $(CPP) $(CPPFLAGS) $(LDFLAGS) $(OBJC) -o $@
                     28:
                     29:
                     30: .cpp.o:
                     31:        $(CPP) $(CPPFLAGS) -c $< -o $@
                     32:
                     33: .c.o:
                     34:        $(CC) $(CFLAGS) -c $< -o $@
                     35:
                     36: clean:
                     37:        -$(RM) -f $(OBJC) $(PROGS)
                     38:
                     39:
1.2     ! iwane      40: ntlsha.cpp: sha1.h
1.1       iwane      41:

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>