1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
|
# c-examples/test-lib/makefile
#
# $Header: /usr/app/odstb/CVS/snacc/c-examples/test-lib/makefile,v 1.4 1995/07/24 20:50:11 rj Exp $
# $Log: makefile,v $
# Revision 1.4 1995/07/24 20:50:11 rj
# changed `_' to `-' in file names.
#
# Revision 1.3 1995/02/13 15:05:59 rj
# augment CPPFLAGS, not overwrite.
#
# Revision 1.2 1994/08/31 21:43:20 rj
# rebuild the executables when the c-lib is newer.
#
# Revision 1.1 1994/08/31 08:46:37 rj
# first check-in. for a list of changes to the snacc-1.1 distribution please refer to the ChangeLog.
#
#include ../../makehead
TOP = /usr
ASN1_C_LIB_DIR = $(TOP)/lib
ASN1_C_INC_DIR = $(TOP)/include/snacc/c
ASN1_C_LIB = $(ASN1_C_LIB_DIR)/libasn1csbuf.a
CPPFLAGS += -g -I$(TOP) -I$(ASN1_C_INC_DIR) -DUSE_SBUF
LIBS += -lm
LDLIBS = $(ASN1_C_LIB) $(LIBS)
CFILES = \
test-lib.c
DISTFILES = \
README \
makefile \
$(CFILES)
#-------------------------------------------------------------------------------
default:: check
check:: test-lib
./test-lib
test-lib: $(ASN1_C_LIB)
clean::
$(RM) *.o *~ .emacs* test-lib core
#include ../../maketail
|