petidomo/libconfigfile/Makefile
2000-12-13 13:19:03 +00:00

57 lines
535 B
Makefile

#
# libconfigfile Makefile
#
# $Header$
#
# Make Rules:
# ===========
#
.c.o:
$(CC) $(CFLAGS) $(CPPFLAGS) -c $<
# Compiler Flags:
# ===============
#
CFLAGS = -Wall
CPPFLAGS=
#
# Labels:
# =======
#
SRCS = config.c
OBJS = $(SRCS:.c=.o)
#
# Targets
#
.PHONY: all man clean depend
all: libconfigfile.a
man:
clean:
rm -f libconfigfile.a *.o *.3 *.core
depend:
makedepend -Y /usr/include $(SRCS)
@rm -f Makefile.bak
#
# Actions
#
libconfigfile.a: $(OBJS)
rm -f $@
$(AR) cr $@ $(OBJS)
$(RANLIB) $@
#
# Dependencies
#