mirror of
https://github.com/GnoConsortium/gno.git
synced 2024-12-22 14:30:29 +00:00
13a3dc63c3
path expansion file copying GS/OS error printing (unused)
29 lines
640 B
Makefile
29 lines
640 B
Makefile
#
|
|
# 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 $
|
|
#
|
|
|
|
.INCLUDE: ../../paths.mk
|
|
.INCLUDE: ../const.mk
|
|
|
|
LIB = libcontrib
|
|
OBJS = copyfile.o expandpath.o strarray.o xalloc.o
|
|
HEADER = contrib.h
|
|
LIBDIR = $(RELEASE_DIR)/usr/lib
|
|
INCDIR = $(RELEASE_DIR)/usr/include/gno
|
|
|
|
CFLAGS += -I. -O78 -Slibcontrib
|
|
|
|
$(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)
|