home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
forut062.zip
/
ForUtil-0.62
/
lib
/
Makefile.conf
< prev
next >
Wrap
Makefile
|
1996-11-11
|
2KB
|
100 lines
# Generated automatically from Makefile.in by configure.
#
# $Header: /usr/local/rcs/ForUtil/lib/RCS/Makefile.in,v 1.1 1996/08/07 21:16:49 koen Exp koen $
#
# Makefile.in for the ForUtil library
#
# (C)Copyright 1995-1996 Ripley Software Development
# All Rights Reserved
#
# This file is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
CC = gcc
CFLAGS= -g
CPPFLAGS=
LDFLAGS=
LIBS= -L. -L../lib $(LOADLIBES) -lforUtil -lgdbm
DEFS = -DHAVE_CONFIG_H
ALL_INCLUDES= -I. -I../. -I../lib $(INCLUDES)
ALL_CPPFLAGS= $(CPPFLAGS) $(ALL_INCLUDES) $(DEFS)
RM = rm -f
AR = ar crv
RANLIB = ar srv
DEPEND = gccmakedep
# Installation program
install=.././install-sh -c
SRCS = stringutil.c filelist.c environment.c SplitPath.c alloca.c
HEADERS = forutil.h sysdeps.h memmacros.h
OBJS = stringutil.o filelist.o environment.o SplitPath.o
ALLSRC= $(SRCS)
ALLOBJ= $(OBJS)
TARGETS= libforUtil.a
#### End of Configuration section
#### Start of Compilation rules
#rule to create .o files from .c files
.c.o:
$(RM) $@
$(CC) $(CFLAGS) $(ALL_CPPFLAGS) -c $< -o $@
#rule to create .c files from .l files
.l.c:
$(RM) $@
$(LEX) $(LEXFLAGS) $<
mv lex.yy.c $@
#### End of Compilation Rules
#### Start of possible targets
all:: $(TARGETS)
libforUtil.a:: $(OBJS)
$(RM) $@ \
$(AR) $@ $(OBJS)
$(RANLIB) $@
install:
.PHONY: install
uninstall:
.PHONY: uninstall
depend: $(ALLSRC)
$(DEPEND) $(ALL_CPPFLAGS) $(ALLSRC)
mostlyclean:
$(RM) $(ALLOBJ)
$(RM) *.bak *.out core a.out
clean:: mostlyclean
$(RM) $(TARGETS)
distclean: clean
$(RM) Makefile