home *** CD-ROM | disk | FTP | other *** search
Makefile | 1993-05-21 | 1.1 KB | 55 lines |
- # Makefile for web2c
- CC=cc
- DEFS=-DRISCOS -DINTEGERTYPE=int -DSTACK_DIRECTION=-1
- CFLAGS=-IC:,^.lib -throwback
- LEX=flex -y
- YACC=bison -y
-
- o.Y_tab: c.Y_tab
- $(CC) -c $(CFLAGS) Y_tab
-
- c.Y_tab: y.web2c
- $(YACC) -d y.web2c
-
- o.Lex_yy: c.Lex_yy
- $(CC) -c $(CFLAGS) Lex_yy
-
- c.Lex_yy: l.web2c
- $(LEX) l.web2c
-
- o.web2c: c.web2c
- $(CC) -c $(CFLAGS) web2c
-
- o.fixwrites: c.fixwrites
- $(CC) -c $(CFLAGS) fixwrites
-
- o.regfix: c.regfix
- $(CC) -c $(CFLAGS) regfix
-
- o.splitup: c.splitup
- $(CC) -c $(CFLAGS) splitup
-
- web2c: o.Y_tab o.Lex_yy o.web2c ^.lib.o.library
- link -o web2c o.Y_tab o.Lex_yy o.web2c C:o.Stubs ^.lib.o.library
-
- fixwrites: o.fixwrites ^.lib.o.library
- link -o fixwrites o.fixwrites ^.lib.o.library C:o.Stubs
-
- regfix: o.regfix ^.lib.o.library
- link -o regfix o.regfix ^.lib.o.library C:o.Stubs
-
- splitup: o.splitup ^.lib.o.uexit
- link -o splitup o.splitup ^.lib.o.uexit C:o.Stubs
-
- all: web2c splitup regfix fixwrites peephole
- squeeze web2c
- squeeze splitup
- squeeze regfix
- squeeze fixwrites
-
- install: all
- copy web2c ^.^.Library.* ~C V
- copy splitup ^.^.Library.* ~C V
- copy regfix ^.^.Library.* ~C V
- copy fixwrites ^.^.Library.* ~C V
-