home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 497a.lha / ComSMUS_v2.2 / src / Makefile < prev    next >
Encoding:
Makefile  |  1991-04-07  |  463 b   |  36 lines

  1. #
  2. # makefile for the SMUS server demo program
  3. #
  4. # add -DDEBUG to CFLAGS
  5. #
  6. # add -n to CFLAGS and -g to SDBFLAGS to get an sdb .dbg file
  7. #
  8. #
  9.  
  10. #CFLAGS=    +L 
  11. CFLAGS=    +L -n
  12.  
  13. #SDBFLAG=
  14. SDBFLAG= -g
  15.  
  16. OFILES= main.o smusinterface.o cleanup.o 
  17.  
  18. HFILES=  smus_requests.h
  19.  
  20. .c.o:
  21.     cc $(CFLAGS) $*.c
  22.  
  23. all:    smus
  24.     say "ready"
  25.  
  26. clean:
  27.     -delete #?.o quiet
  28.     -delete #?.bak quiet
  29.     -delete #?.dbg quiet
  30.  
  31. scratch:    clean    all
  32.  
  33. smus:    $(OFILES)
  34.     ln $(SDBFLAG) +Q -o smus $(OFILES) -lcl32
  35.  
  36.