home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: OtherApp / OtherApp.zip / aping.zip / aping.aix < prev    next >
Text File  |  1993-05-13  |  1KB  |  47 lines

  1.  
  2.  
  3.  
  4.  
  5. # -c    compile only (don't link)
  6. # -O    Optimize generated code
  7. # -v    Display verbose information on the compiler's progress.
  8.  
  9.  
  10.  
  11. C_OPTIONS = -c -DAIX -DCM_AIX -O
  12.  
  13. #LIBLIST = cpic acs
  14. LIBLIST = -lodm -lsrc -lcpic
  15. LINK_OPTIONS =
  16.  
  17.  
  18. everything: aping apingd
  19.  
  20. aping: aping.aix aping.o cpicerr.o cpicinit.o cpicport.o getopt.o
  21.     cc -o aping aping.o cpicerr.o cpicinit.o cpicport.o getopt.o $(LINK_OPTIONS) $(LIBLIST)
  22.  
  23. aping.o: aping.aix aping.c cpicerr.h cpicinit.h cpicport.h getopt.h
  24.     cc $(C_OPTIONS) $*.c
  25.  
  26. apingd: aping.aix apingd.o cpicerr.o cpicinit.o cpicport.o  getopt.o
  27.     cc -o apingd apingd.o cpicerr.o cpicinit.o cpicport.o  getopt.o $(LINK_OPTIONS) $(LIBLIST)
  28.  
  29. apingd.o: aping.aix apingd.c cpicerr.h cpicinit.h cpicport.h getopt.h
  30.     cc $(C_OPTIONS) $*.c
  31.  
  32. cpicerr.o: aping.aix cpicerr.c cpicerr.h
  33.     cc $(C_OPTIONS) $*.c
  34.  
  35. cpicinit.o: aping.aix cpicinit.c cpicinit.h
  36.         cc $(C_OPTIONS) $*.c
  37.  
  38. cpicport.o: aping.aix cpicport.c cpicport.h
  39.     cc $(C_OPTIONS) $*.c
  40.  
  41. getopt.o: aping.aix getopt.c getopt.h
  42.         cc $(C_OPTIONS) $*.c
  43.  
  44.  
  45.  
  46.  
  47.