home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 635.lha / wbloc_v1.0 / makefile < prev    next >
Encoding:
Makefile  |  1992-01-18  |  711 b   |  34 lines

  1. #
  2. # makefile for WBLoc
  3. #
  4. # Bruno Costa - 16 Jan 91 - 16 Jan 91
  5. #
  6.  
  7. EXE = WBLoc
  8. LC = LC:lc
  9. AS = asm
  10. LINK = LC:blink
  11. CFLAGS = -cusf
  12. OBJS = wbloc.o
  13.  
  14. .c.o:
  15.     @echo "*e[32;3mCompiling file $*.c*e[31;0m"
  16.     $(LC) $(CFLAGS) $*
  17.  
  18. # link with debug information
  19.  
  20. #$(EXE): $(OBJS)
  21. #    $(LINK) from LIB:c.o $(OBJS) LIBRARY Lib:lc.lib \
  22. # SMALLCODE SMALLDATA TO $(EXE) BATCH ADDSYM
  23. #    @echo "*e[32;1m-- Program is ready --*e[31;0m"
  24.  
  25.  
  26. # link the smallest executable possible
  27. # DEFINE __main=__tinymain DEFINE _exit=__exit \
  28.  
  29. $(EXE): $(OBJS)
  30.     $(LINK) from LIB:c.o $(OBJS) LIBRARY Lib:lc.lib \
  31.  DEFINE __main=__tinymain DEFINE _exit=__exit \
  32.  SMALLCODE SMALLDATA TO $(EXE) BATCH NODEBUG
  33.     @echo "*e[32;1m-- Program is ready --*e[31;0m"
  34.