home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
forut062.zip
/
ForUtil-0.62
/
ffscan
/
Makefile.os2
< prev
Wrap
Makefile
|
1997-01-23
|
2KB
|
106 lines
# Generated automatically from Makefile.in by configure.
#
# $Header: /usr/local/rcs/ForUtil/ffscan/RCS/Makefile.in,v 1.1 1996/08/07 21:14:51 koen Exp koen $
#
# Makefile.in for the ForUtil ffscan utility
#
# (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=
# for OS/2
EXE = .exe
LIBS= -L. -L../lib $(LOADLIBES) -lforUtil
DEFS = -DHAVE_CONFIG_H
ALL_INCLUDES= -I. -I../. -I../fflow -I../lib $(INCLUDES)
ALL_CPPFLAGS= $(CPPFLAGS) $(ALL_INCLUDES) $(DEFS)
RM = rm -f
AR = ar crv
RANLIB = ar srv
DEPEND = gccmakedep
LEX = flex
LEXFLAGS = -i
LEXLIB= -lfl
# Installation program
install=.././install-sh -c
SRCS = ffscan.c ../fflow/libflow.c
OBJS = ffscan.o ../fflow/libflow.o
ALLSRC = $(SRCS)
ALLOBJ = $(OBJS)
TARGETS= ffscan$(EXE)
#### 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)
ffscan$(EXE):: $(OBJS)
$(RM) $@ \
$(CC) -o $@ $(LDFLAGS) $(OBJS) $(LIBS) $(LEXLIB)
install:: $(TARGETS)
$(install) $(bininst_flags) ffscan $(bindir)
uninstall::
$(RM) $(bindir)/ffscan
depend: $(ALLSRC)
$(DEPEND) $(ALL_CPPFLAGS) $(ALLSRC)
mostlyclean:
$(RM) $(ALLOBJ)
$(RM) *.bak *.out core a.out
clean:: mostlyclean
$(RM) $(TARGETS)
distclean: clean
$(RM) Makefile
#dependencies
ffscan.c: ffscan.l