home *** CD-ROM | disk | FTP | other *** search
- # Makefile for GNU DIFF, MS-DOS Version
- # Copyright (C) 1988, 1989 Free Software Foundation, Inc.
-
- # This file is part of GNU DIFF.
-
- # GNU DIFF 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 1, or (at your option)
- # any later version.
- #
- # GNU DIFF 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 GNU DIFF; see the file COPYING. If not, write to
- # the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
-
- # $Header: e:/gnu/diff/RCS/makefile 1.15.0.1 91/03/12 18:14:26 tho Exp $
-
- TKERN=..\..\tkern
- GNUVER = 1.15
-
- OBJS = analyze.obj context.obj ed.obj diff.obj ifdef.obj io.obj \
- normal.obj util.obj dir.obj version.obj
-
- SRCS = analyze.c context.c ed.c diff.c ifdef.c io.c normal.c util.c \
- dir.c version.c diff3.c
- INCS = diff.h limits.h
-
- DEFINES = -DUSG -DHAVE_NDIR -DHAVE_DIRECT -DMSDOS -D__STDC__=1
- CFLAGS = -DSTRICT -W -w- -ml -v -Fc -I. -I$(TKERN)\INCLUDE $(DEFINES)
-
- .AUTODEPEND
-
- .c.i:
- cpp $(CFLAGS) $*.c
-
- .c.obj:
- bcc $(CFLAGS) -c $*.c
-
-
- all: diff.exe
-
- diff.exe: $(OBJS)
- tlink /v /c /C /s /n /Twe /L$(TKERN)\LIB;\bc4\lib @&&!
- c0wl.obj $**,$*.exe,,gnuish tklib tkern cwl import,$*.def
- !
-
- util.obj: util.c
- bcc $(CFLAGS) -UMSDOS -c $*.c
-
- clean:
- $(RM) *.obj
-
- veryclean:
- $(RM) *.exe errs tags
- rcsclean -q *.[ch] makefile
-