Annotation of OpenXM/src/ox_ntl/crypt/des/Makefile, Revision 1.2
1.2 ! iwane 1: # $OpenXM: OpenXM/src/ox_ntl/crypt/des/Makefile,v 1.1 2004/07/11 00:32:17 iwane Exp $
! 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:
17: SRCS=block.c des.c destest.c
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>