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

Annotation of OpenXM/src/ox_ntl/crypt/des/Makefile, Revision 1.3

1.3     ! iwane       1: # $OpenXM: OpenXM/src/ox_ntl/crypt/des/Makefile,v 1.2 2004/09/20 00:10:24 iwane Exp $
1.2       iwane       2:
                      3: OpenXM_HOME ?= ${PWD}/../../../..
                      4: PREFIX=$(OpenXM_HOME)
1.1       iwane       5:
                      6: PROG=des
                      7:
                      8: CC ?= gcc
                      9:
1.2       iwane      10: RM ?= /bin/rm -f
                     11:
                     12:
                     13: CFLAGS   += -Wall -g -DHAVE_CONFIG_H
                     14: CPPFLAGS  = -I$(PREFIX)/include -I../..
                     15:
1.1       iwane      16:
1.3     ! iwane      17: SRCS=block.c des.c des3.c destest.c
1.1       iwane      18:
                     19: OBJC=$(SRCS:.c=.o)
                     20:
                     21: all:: $(PROG)
                     22:
                     23: des: $(OBJC)
1.2       iwane      24:        $(CC) $(CFLAGS) $(OBJC) -o $@
1.1       iwane      25:
                     26:
                     27: .c.o:
                     28:        $(CC) $(CFLAGS) $(CPPFLAGS) -c $< -o $@
                     29:
                     30: clean:
1.2       iwane      31:        -$(RM) $(OBJC) $(PROG)
1.1       iwane      32:
                     33:

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