home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / C / SASC6571.LZX / extras / sprof / smakefile < prev    next >
Encoding:
Makefile  |  1996-12-24  |  626 b   |  31 lines

  1. SPROFOBJS = sprof.o timer.o report.o
  2.  
  3. all: test smalltest sprof
  4.  
  5. test: sprof.gst test.o
  6.    sc link test.o to test
  7.  
  8. smalltest: sprof.gst smalltest.o
  9.    sc link smalltest.o to smalltest
  10.  
  11. smalltest.o: test.c 
  12.    sc test.c define SMALLTEST=1 profile objname=smalltest.o
  13.  
  14. test.o: test.c 
  15.    sc test.c profile
  16.  
  17. sprof: sprof.exe
  18.    slink sprof.exe to sprof nd
  19.  
  20. sprof.exe: sprof.gst $(SPROFOBJS)
  21.    sc link $(SPROFOBJS) to sprof.exe nosmallcode
  22.  
  23. sprof.gst: sprofpriv.h
  24.    sc sprof.c mgst sprof.gst noobjname
  25.  
  26. sprof.o: sprof.c sprofpriv.h
  27. timer.o: timer.c
  28.  
  29. clean:
  30.    -delete \#?.exe \#?.o \#?.map \#?.lnk #?.gst test sprof quiet force
  31.