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

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

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

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