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
|
#
# Makefile
#
# This is the Makefile for libutil.
#
# $Id: Makefile,v 1.6 2006/02/22 17:25:39 gert Exp $
#
UTILOBJS=check_system.o config.o no_modem.o make_path.o strsep.o variables.o \
access.o wildmat.o ../../config.o ../../logfile.o
.c.o:
$(CC) $(CFLAGS) $(CPPFLAGS) -c $*.c
all: libutil.a test_wildmat
config.o: CPPFLAGS+=-DCONF_DIR=\"$(CONFDIR)\"
libutil.a: $(UTILOBJS)
$(RM) -f libutil.a
$(AR) $(ARFLAGS) libutil.a $(UTILOBJS)
-$(RANLIB) libutil.a
test_wildmat: test_wildmat.o wildmat.o
$(CC) $(CFLAGS) $(LDFLAGS) -o test_wildmat test_wildmat.o wildmat.o
install:
clean:
@$(RM) -f libutil.a test_wildmat test_wildmat.o $(UTILOBJS)
include depend
|