home *** CD-ROM | disk | FTP | other *** search
/ Gold Fish 1 / GoldFishApril1994_CD1.img / d1xx / d102 / dbug / manx32 / makefile < prev   
Makefile  |  1987-09-06  |  761b  |  37 lines

  1. # Makefile for Manx 32-bit int version for Amiga
  2.  
  3. CC =        cc
  4. DEFS =        -DAMIGA -DMANX
  5. INCLUDES =    -I/
  6. CFLAGS =    $(DEFS) $(INCLUDES) +l
  7. LIBNAME =    libdbug32.a
  8. LIBS =        $(LIBNAME) -lc32
  9.  
  10. all :        $(LIBNAME) factorial analyze
  11.  
  12. $(LIBNAME) :    /dbug.c
  13.         $(CC) $(CFLAGS) -o $@ /dbug.c
  14.  
  15. factorial :    main.o factorial.o $(LIBNAME)
  16.         ln -o $@ main.o factorial.o $(LIBS)
  17.  
  18. main.o :    /main.c /dbug.h
  19.         $(CC) $(CFLAGS) -o $@ /main.c
  20.  
  21. factorial.o :    /factorial.c /dbug.h
  22.         $(CC) $(CFLAGS) -o $@ /factorial.c
  23.  
  24.  
  25. #
  26. #    Make the analyze program for runtime profiling support.
  27. #
  28.  
  29. analyze :    analyze.o getopt.o $(LIBNAME)
  30.         ln -o $@ analyze.o getopt.o -lm32 $(LIBS)
  31.  
  32. analyze.o :    /analyze.c /useful.h /dbug.h
  33.         $(CC) $(CFLAGS) -o $@ /analyze.c
  34.  
  35. getopt.o :    /getopt.c
  36.         $(CC) $(CFLAGS) -o $@ /getopt.c
  37.