home *** CD-ROM | disk | FTP | other *** search
Makefile | 1995-05-19 | 1.9 KB | 73 lines |
- # makefile. - make the GNUish MS-DOS library
- # Copyright (C) 1990 by Thorsten Ohl, td12@ddagsi3.bitnet
- #
- # The GNUish MS-DOS library 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.
- #
- # The GNUish MS-DOS library 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 the GNUish MS-DOS library; see the file COPYING. If not, write to
- # the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
- #
- # $Header: e:/gnu/lib/RCS/makefile 1.0.0.3 90/09/19 23:21:14 tho Exp $
- #
-
- .AUTODEPEND
-
- # Where to put the library and header files.
-
- INSTALL = cp -v
- LIBDIR = c:\src\tkern\lib
- INCDIR = c:\src\tkern\include
-
- # The floppy drive and the zip archive for backups
-
- DISK = b:
- ZIPFILE = gnulib.zip
-
- LIBS = gnuish.lib
-
- DEFINES = -DUSG -DSTDC_HEADERS -D__STDC__=1 -DMSDOS
-
- CFLAGS = -DSTRICT -W -ml -v -I. -I..\..\tkern\INCLUDE $(DEFINES)
- ARFLAGS = /noi -+
-
- # Files
-
- OBJS = error.obj getopt.obj getopt1.obj glob.obj regex.obj \
- xmalloc.obj xrealloc.obj ndir.obj pwd.obj _cwild.obj
- SRCS = error.c getopt.c getopt1.c glob.c regex.c \
- xmalloc.c xrealloc.c _cwild.c ndir.c pwd.c
- GNUFILES= getopt.h getopt.c getopt1.c error.c glob.c regex.h regex.c
-
- GNUVER = 1.1
-
- # Main goal
-
- .c.obj:
- bcc $(CFLAGS) -c $*.c
- tlib gnuish.lib /E /C -+$*.OBJ
-
- .c.i:
- cpp $(CFLAGS) $*.c
-
- .c.asm:
- bcc $(CFLAGS) -S $*.c
-
- all: $(OBJS)
-
- clean:
- rm -fr small medium compact large DOS GNU
- rm -f *.bak *.tar *.z
-
- veryclean: clean
- rm -f *.uue *.lib *.lst patches
- rcsclean *.c *.h makefile
-