home *** CD-ROM | disk | FTP | other *** search
Makefile | 1995-11-23 | 1.3 KB | 43 lines |
- #
- # DMakefile for DICE link library "sysinfo"
- #
- # This will place library interfaces for all four permutations of
- # small/large data and small/large code into dice/dlib/. This will
- # also overwrite include/pragmas/sysinfo_pragmas.h, because some of
- # them are malformed and generate bad code with DICE.
- #
- # (derived from Stefan Beckers DMakefile for screennotify) by B. Möllemann
- #
- # $Id: DMakefile 1.1 1995/11/21 17:57:32 petrin Exp petrin $
- #
-
- LIBNAME = SysInfo
- SRCS =
- #
- SNDIR = include/
- LIBDIR = dice/
- FDFILE = $(SNDIR)fd/$(LIBNAME)_lib.fd
- SLIB = $(LIBDIR)$(LIBNAME)s.lib
- SRLIB = $(LIBDIR)$(LIBNAME)sr.lib
- LLIB = $(LIBDIR)$(LIBNAME)l.lib
- LRLIB = $(LIBDIR)$(LIBNAME)lr.lib
- FTLOPTS = $(FDFILE) -h $(SNDIR)clib/$(LIBNAME)_protos.h \
- -I $(SNDIR) -I DINCLUDE:amiga31 -auto $(LIBNAME).library -v
-
- all : pragma $(SLIB) $(SRLIB) $(LLIB) $(LRLIB)
-
- pragma : $(SNDIR)fd/$(LIBNAME)_lib.fd $(SNDIR)clib/$(LIBNAME)_protos.h
- fdtopragma $(SNDIR)fd/$(LIBNAME)_lib.fd >$(SNDIR)pragmas/$(LIBNAME)_pragmas.h
-
- $(SLIB) : $(FDFILE)
- fdtolib $(FTLOPTS) -md -o %(left)
-
- $(SRLIB) : $(FDFILE)
- fdtolib $(FTLOPTS) -md -mRR -o %(left)
-
- $(LLIB) : $(FDFILE)
- fdtolib $(FTLOPTS) -mD -o %(left)
-
- $(LRLIB) : $(FDFILE)
- fdtolib $(FTLOPTS) -mD -mRR -o %(left)
-