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

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

1.2     ! iwane       1: # $OpenXM: OpenXM/src/ox_ntl/crypt/cast5/Makefile,v 1.1 2004/07/15 14:51:42 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 -DHAVE_CONFIG_H
                     13: CXXFLAGS += -g -Wall -D_WITH_NTL_
                     14: CPPFLAGS  = -I$(PREFIX)/include -I../..
                     15:
                     16: .SUFFIXES: .cpp .o .c
                     17:
                     18: SRCC=cast5.c casttest.c
                     19: SRCP=
                     20:
                     21: OBJC=$(SRCC:.c=.o)
                     22:
                     23: PROGS=cast128
                     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:
                     40:

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