home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 4 / DATAFILE_PDCD4.iso / utilities / utilsf / indent / Source / Makefile next >
Makefile  |  1995-11-25  |  876b  |  31 lines

  1. # Project: Indent (Archimedes port)
  2. # by Steven Flintham 
  3.  
  4. # Thursday 26th October 1995
  5. # Saturday 25th November 1995
  6.  
  7. CC         = cc
  8. # The -jUnix:^.clib is a bit of a bodge as my compiler doesn't seem to work
  9. # correctly with the -IUnix: -JUnix: switches suggested in UnixLib's !Help file
  10. CFLAGS     = -c -jUnix:^.clib
  11. LINK       = drlink
  12. LINKFLAGS  = 
  13. SQUEEZE    = @Echo *** Run !Crunch on
  14.  
  15. FILES      = o.args o.indent o.io o.lexi o.parse o.pr_comment o.indntglobs
  16. LIBRARIES  = Unix:o.UnixLib
  17.  
  18. # Several errors are given during compilation - these are not serious and
  19. # without this it is necessary to call amu several times or explicitly specify
  20. # the -i option on the command line
  21. .IGNORE:
  22.  
  23. .SUFFIXES: .o .c
  24. .c.o:;     $(CC) $(CFLAGS) -o $@ $<
  25.  
  26. indent: $(FILES) $(LIBRARIES)
  27.     $(LINK) -o $@ $(LINKFLAGS) $(FILES) $(LIBRARIES)
  28.     $(SQUEEZE) $@
  29.  
  30. clean:;    %wipe o.* ~C ~F ~R V
  31.