[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.3

1.3     ! iwane       1: # $OpenXM: OpenXM/src/ox_ntl/crypt/sha1/Makefile,v 1.2 2004/03/25 13:34:19 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:
1.3     ! iwane      17: SRCC=sha1.c sha1test.c
1.1       iwane      18: SRCP=ntlsha.cpp
                     19:
1.3     ! iwane      20: OBJC=$(SRCC:.c=.o)
1.1       iwane      21:
1.3     ! iwane      22: PROGS=sha1test
1.1       iwane      23:
                     24: all: $(PROGS)
                     25:
1.3     ! iwane      26: $(PROGS): $(OBJC)
        !            27:        $(CC) $(CFLAGS) $(LDFLAGS) $(OBJC) -o $@
1.1       iwane      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>