home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 389.lha / dme_v1.40 / src / DMakefile.Aztec < prev    next >
Text File  |  1990-07-03  |  832b  |  40 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= -i aztec:/3.6/asminclude/
  12. CFLAGS= -i private_include: -d NODRES
  13.  
  14. OD=    atmp:dme/
  15. SYMS=    atmp:dme/syms.m
  16.  
  17. ASRCS= *.asm
  18. CSRCS= *.c
  19. OBJS =    $(OD)*.o
  20.  
  21. # This strangeness is get around the command-line-length limitation without
  22. # resorting to a -f file.
  23.  
  24. $(EXE): $(SYMS) $(OBJS) $(ASRCS) $(CSRCS)
  25.     cd $(OD)
  26.     list #?.o TO T:DMEOBJS LFORMAT %s
  27.     ln +Q -f T:DMEOBJS -lsup -lc -o %(left)
  28.     cd
  29.     Delete T:DMEOBJS
  30.  
  31. $(OBJS) : $(CSRCS)
  32.     cc $(CFLAGS) -h $(SYMS) -o %(left) %(right)
  33.  
  34. $(OBJS) : $(ASRCS)
  35.     as -iaztec:/3.6/asminclude/ -o %(left) %(right)
  36.  
  37. $(SYMS) : defs.h
  38.     cc $(CFLAGS) -ho -o %(left) syms.c
  39.  
  40.