home *** CD-ROM | disk | FTP | other *** search
Makefile | 1994-02-07 | 1.2 KB | 40 lines |
- # Makefile for library files used by GNU shell utilities.
- # Do not use this makefile directly, but only from `../Makefile'.
- # Copyright (C) 1991 Free Software Foundation, Inc.
-
- # This program 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, 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., 675 Mass Ave, Cambridge, MA 02139, USA.
-
- OBJECTS = o.basename o.error o.stripslash o.xmalloc o.xstrdup
-
- CC= %gcc
- CFLAGS= -DARCH -DHAVE_UNISTD_H -DSTDC_HEADERS -D_POSIX_VERSION
-
- all: $(OBJECTS)
-
- clean:
- rm -f o.*
-
- c.getdate: y.getdate
- @echo expect 9 shift/reduce conflicts
- bison -o c.getdate y.getdate
-
- c.posixtm: y.posixtm
- bison -o c.tmp_ptm y.posixtm
- sed -e "s/yy/zz/g" c.tmp_ptm > c.posixtm
- rm -f c.tmp_ptm
-
- o.getopt1: h.getopt
- o.regex: h.regex
-