home *** CD-ROM | disk | FTP | other *** search
Makefile | 1992-07-08 | 1012 b | 40 lines |
-
- # DICE Makefile for GRn v1.16e
-
- CCFLG= -Ht:defs.h=defs.h -c -O "" -// -2.0
-
- LIB= dlib:cs.lib dlib:amigas20.lib dlib:autos.lib
-
- GRNC= memalloc.c builddir.c grn.c gmode.c amode.c system.c requesters.c sort.c headers.c
- GRNO= $(GRNC:*.c:%1.o)
-
- DIFFS= memalloc.diff builddir.diff grn.diff gmode.diff amode.diff \
- system.diff requesters.diff sort.diff
- DIFFC= $(DIFFS:*.diff:%1.c)
-
- INCLH= memalloc.h.diff system.h.diff grn.h.diff grn.doc.diff
- DIFFH= memalloc.h system.h grn.h grn.doc
-
- PRE= t:defs.h
-
- all: $(PRE) grn
-
- diffs: $(DIFFS) $(INCLH)
-
- $(DIFFS): $(DIFFC)
- -diff -w -c %(right).orig %(right) >%(left)
-
- $(INCLH): $(DIFFH)
- -diff -w -c %(right).orig %(right) >%(left)
-
- $(PRE): defs.h grn.h system.h
- @-delete >nil: "t:defs.h"
-
- grn: $(GRNO)
- # production releases should probably not have the "-s" flag
- dlink dlib:c.o $(GRNO) $(LIB) dlib:x.o -o grn
- copy grn uucp:c
-
- $(GRNO): $(GRNC)
- dcc -s $(CCFLG) %(right) -o %(left)
-