home *** CD-ROM | disk | FTP | other *** search
/ The Fred Fish Collection 1.5 / ffcollection-1-5-1992-11.iso / ff_disks / 200-299 / ff284.lzh / Dme / src / DMakefile < prev    next >
Makefile  |  1989-11-27  |  951b  |  41 lines

  1.  
  2. #   Makefile for DME
  3. #
  4. #   You *need* my support library, sup32.lib, to compile this
  5. #
  6. #   There will be absolute reference warnings to DOSBase, SysBase,
  7. #   GfxBase, IconBase, IntuitionBase.
  8.  
  9. EXE = root:altc/dme
  10.  
  11. AFLAGS= -ilattice:asminclude/
  12. #CFLAGS= -iprivate_include: -cim -O -d0 -v -rr -dNODRES
  13. CFLAGS= -iprivate_include: -cimq -d0 -v -dNODRES -H$(SYMS)
  14.  
  15. OD=    ltmp:dme/
  16. SYMS=    ltmp:dme/syms.m
  17.  
  18. ASRCS= *.asm
  19. CSRCS= *.c
  20. OBJS =    $(OD)*.o
  21.  
  22. # This strangeness is get around the command-line-length limitation without
  23. # resorting to a -f file.
  24.  
  25. $(EXE): $(SYMS) $(OBJS) $(ASRCS) $(CSRCS)
  26.     cd $(OD)
  27.     list #?.o TO T:DMEOBJS LFORMAT %s
  28.     blink FROM LIB:cres.o WITH T:DMEOBJS ND LIB LIB:sup32.lib lib:lc.lib lib:amiga.lib TO $(EXE) BATCH
  29.     cd
  30.     Delete T:DMEOBJS
  31.  
  32. $(OBJS) : $(CSRCS)
  33.     lc $(CFLAGS) -o%(left) %(right)
  34.  
  35. $(OBJS) : $(ASRCS)
  36.     asm $(AFLAGS) -o%(left) %(right)
  37.  
  38. $(SYMS) : defs.h
  39.     lc -iprivate_include: -cimq -ph -o$(SYMS) syms.c
  40.  
  41.