home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 594b.lha / Dautostart / src / DMakefile < prev    next >
Encoding:
Makefile  |  1991-09-12  |  534 b   |  24 lines

  1.  
  2. #   DMakefile for dautostart programs.    Pretty portable except for
  3. #   its use of __aligned, which is DICE specific.  Under SAS/C
  4. #   __aligned must be moved next to the identifier.
  5. #
  6. #
  7. #   Executables should run under both 1.3 and 2.0
  8.  
  9. ED= sys:bin/
  10. SRCS= dautostart.c loadpath.c savepath.c
  11. EXES= $(SRCS:"*.c":"$(ED)*")
  12. CFLAGS= -r -mRR -proto -Idinclude:amiga20/
  13.  
  14. all: $(EXES) /ex1/bin/xxx
  15.  
  16. $(EXES) : $(SRCS)
  17.     dcc $(CFLAGS) %(right) -o %(left)
  18.  
  19. /ex1/bin/xxx : xxx.c
  20.     dcc $(CFLAGS) %(right) -o %(left)
  21.  
  22. clear:
  23.     delete $(EXES)
  24.