gno/lib/libcontrib/Makefile

29 lines
640 B
Makefile
Raw Normal View History

1997-10-03 04:49:40 +00:00
#
# This is the top-level makefile for libcontrib, GNO v2.0.6
#
# $Id: Makefile,v 1.2 1997/10/30 04:57:24 gdr Exp $
1997-10-03 04:49:40 +00:00
#
.INCLUDE: ../../paths.mk
.INCLUDE: ../const.mk
LIB = libcontrib
OBJS = copyfile.o expandpath.o strarray.o xalloc.o
1997-10-03 04:49:40 +00:00
HEADER = contrib.h
LIBDIR = $(RELEASE_DIR)/usr/lib
INCDIR = $(RELEASE_DIR)/usr/include/gno
CFLAGS += -I. -O78 -Slibcontrib
1997-10-03 04:49:40 +00:00
$(LIB): $(OBJS) $(LIB).r
$(RM) -f $@
$(MAKELIB) $(MAKELIBFLAGS) -l $@ $(OBJS)
$(CATREZ) -d $(LIB) $(LIB).r
release: $(LIB) $(HEADER)
$(INSTALL) -d $(LIBDIR) $(INCDIR)
$(INSTALL) $(LIB) $(LIBDIR)
$(INSTALL) $(HEADER) $(INCDIR)
$(OBJS):: $(HEADER)