home *** CD-ROM | disk | FTP | other *** search
-
- # Makefile for DME
- #
- # You *need* my support library, sup32.lib, to compile this
- #
- # There will be absolute reference warnings to DOSBase, SysBase,
- # GfxBase, IconBase, IntuitionBase.
-
- EXE = root:altc/dme
-
- AFLAGS= -i aztec:/3.6/asminclude/
- CFLAGS= -i private_include: -d NODRES
-
- OD= atmp:dme/
- SYMS= atmp:dme/syms.m
-
- ASRCS= *.asm
- CSRCS= *.c
- OBJS = $(OD)*.o
-
- # This strangeness is get around the command-line-length limitation without
- # resorting to a -f file.
-
- $(EXE): $(SYMS) $(OBJS) $(ASRCS) $(CSRCS)
- cd $(OD)
- list #?.o TO T:DMEOBJS LFORMAT %s
- ln +Q -f T:DMEOBJS -lsup -lc -o %(left)
- cd
- Delete T:DMEOBJS
-
- $(OBJS) : $(CSRCS)
- cc $(CFLAGS) -h $(SYMS) -o %(left) %(right)
-
- $(OBJS) : $(ASRCS)
- as -iaztec:/3.6/asminclude/ -o %(left) %(right)
-
- $(SYMS) : defs.h
- cc $(CFLAGS) -ho -o %(left) syms.c
-
-