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

1.3     ! iwane       1: # $OpenXM: OpenXM/src/ox_ntl/crypt/radix/Makefile,v 1.2 2004/07/04 02:31:51 iwane Exp $
1.1       iwane       2:
1.2       iwane       3: CXX ?= g++
                      4: CC  ?= gcc
1.1       iwane       5:
1.3     ! iwane       6: RM  ?= /bin/rm -f
1.2       iwane       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:
1.3     ! iwane      26: #all: $(PROGS)
        !            27: all: $(OBJC)
1.1       iwane      28:
                     29: radix64: $(OBJC)
1.3     ! iwane      30:        $(CC) $(CFLAGS) $(LDFLAGS) $(OBJC) -o $@
1.1       iwane      31:
                     32:
                     33: .cpp.o:
1.2       iwane      34:        $(CXX) $(CXXFLAGS) $(CPPFLAGS) -c $< -o $@
1.1       iwane      35:
                     36: .c.o:
1.2       iwane      37:        $(CC) $(CFLAGS) $(CPPFLAGS) -c $< -o $@
1.1       iwane      38:
                     39: clean:
1.3     ! iwane      40:        -$(RM) $(OBJC) $(PROGS)
1.1       iwane      41:
                     42:
                     43:

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