home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 182.lha / Calls / makefile < prev    next >
Makefile  |  1988-04-28  |  723b  |  50 lines

  1. # Makefile for calls, Kevin Braunsdorf PUCC
  2.  
  3. BIN =    /usr/local/bin
  4. DEFS= -DBADCALLOC
  5. #DEFS=
  6. CFLAGS =  $(DEFS)
  7.  
  8. SRCm=    Makefile
  9. HDR =    main.h getopt.h scan.h
  10. SRCc=    main.c getopt.c scan.c
  11. OBJ =    main.o getopt.o scan.o
  12. SRC =    $(SRCm) $(HDR) $(SRCc)
  13. LN= ln
  14.  
  15. all: calls
  16.  
  17. calls: $(OBJ)
  18.     $(LN)  -o $@ $(OBJ) -lc
  19.  
  20. install: calls
  21.     install -s -m 751 -o binary -g system calls $(BIN)
  22.  
  23. list:
  24.     lpr $(SRC)
  25.  
  26. lint:
  27.     lint -hnx $(SRCc)
  28.  
  29. clean:
  30.     rm -f $(OBJ)
  31.  
  32. spotless: clean
  33.     ci $(SRC)
  34.  
  35. $(SRC):
  36.     co -l $@
  37.  
  38. depend: $(SRCc)
  39.     maketd $(SRCc)
  40.  
  41. # DO NOT DELETE THIS LINE - make depend DEPENDS ON IT
  42.  
  43. main.o: getopt.h main.c main.h scan.h
  44.  
  45. getopt.o: getopt.c getopt.h
  46.  
  47. scan.o: main.h scan.c scan.h
  48.  
  49. # *** Do not add anything here - It will go away. ***
  50.