home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / os2 / hpgl312.zip / AMIGA.MAK < prev    next >
Makefile  |  1993-04-18  |  2KB  |  96 lines

  1. # AMIGA Makefile, by Claus H. Langhans (langhans@informatik.uni-frankfurt.de)
  2. #
  3. # This makefile is for AMIGA computers.  GNU-C 2.2.2 and the
  4. # dmake-programm that comes with GNU-C, not the dmake that comes with DICE!
  5.  
  6. SHELL :=
  7.  
  8. PROGRAMM         = hp2xx 
  9.  
  10. HEADERS         =   
  11.  
  12. COMPILER         = GCC 
  13. CFLAGS             = -v -c -fstrength-reduce # -Wall -O 
  14.  
  15.  
  16. LIBS             = -lm -lc -lamiga13
  17. LINKER             = $(CC)
  18. LINKEROPTIONS         = -v
  19.  
  20. OBJFILES        = hp2xx.o hpgl.o chardraw.o picbuf.o  \
  21.                bresnham.o to_mf.o to_pcx.o to_pcl.o  \
  22.                to_eps.o  to_amiga.o to_pbm.o to_ilbm.o \
  23.                to_img.o getopt.o getopt1.o
  24.  
  25.  
  26. $(PROGRAMM)        :  $(OBJFILES) 
  27.             $(LINKER) -o $(PROGRAMM) $(OBJFILES) \
  28.             $(LIBS) $(LINKEROPTIONS)
  29.                         
  30.  
  31. makepatch        :
  32.             pipe diff -d +context orig "" | tee hp2xx.amiga.patch > NIL:
  33.             
  34. makedist        :  hp2xx 
  35.             $(CP) makefile makefile.amiga
  36.             -$(RM) hp2xx3.amiga.zoo
  37.             zoo a hp2xx3.amiga.zoo \
  38.             to_ilbm.c to_amiga.c hp2xx.c \
  39.             makefile.amiga iff.h ilbm.h \
  40.             gcc:libs/ixemul.library gcc:libs/COPYING.LIB \
  41.             gcc:unix/usr/bin/ixconfig \
  42.             COPYING work:readme.1st hp2xx
  43.             zoo v hp2xx3.amiga.zoo
  44.             
  45. # ------- construction command goes here ---------
  46.  
  47.  
  48. hp2xx.o            : hp2xx.c bresnham.h hp2xx.h
  49.             $(COMPILER) $(CFLAGS) hp2xx.c
  50.  
  51. hpgl.o            : hpgl.c bresnham.h hp2xx.h chardraw.h
  52.             $(COMPILER) $(CFLAGS) hpgl.c
  53.  
  54. chardraw.o        : chardraw.c bresnham.h hp2xx.h chardraw.h charset0.h
  55.             $(COMPILER) $(CFLAGS) chardraw.c
  56.  
  57. picbuf.o        : picbuf.c bresnham.h hp2xx.h
  58.             $(COMPILER) $(CFLAGS) picbuf.c
  59.  
  60. bresnham.o        : bresnham.c bresnham.h
  61.             $(COMPILER) $(CFLAGS) bresnham.c
  62.  
  63. to_mf.o            : to_mf.c bresnham.h hp2xx.h
  64.             $(COMPILER) $(CFLAGS) to_mf.c
  65.  
  66. to_pcx.o        : to_pcx.c bresnham.h hp2xx.h
  67.             $(COMPILER) $(CFLAGS) to_pcx.c
  68.  
  69. to_pcl.o        : to_pcl.c bresnham.h hp2xx.h
  70.             $(COMPILER) $(CFLAGS) to_pcl.c
  71.  
  72. to_eps.o        : to_eps.c bresnham.h hp2xx.h
  73.             $(COMPILER) $(CFLAGS) to_eps.c
  74.  
  75. to_getopt.o        : to_getopt.c bresnham.h hp2xx.h
  76.             $(COMPILER) $(CFLAGS) to_eps.c
  77.  
  78. to_img.o        : to_img.c bresnham.h hp2xx.h
  79.             $(COMPILER) $(CFLAGS) to_img.c
  80.  
  81. to_amiga.o        : to_amiga.c bresnham.h hp2xx.h
  82.             $(COMPILER) $(CFLAGS) to_amiga.c
  83.  
  84. to_pbm.o        : to_pbm.c bresnham.h hp2xx.h
  85.             $(COMPILER) $(CFLAGS) to_pbm.c
  86.  
  87. to_ilbm.o        : to_ilbm.c bresnham.h hp2xx.h iff.h ilbm.h
  88.             $(COMPILER) $(CFLAGS) to_ilbm.c
  89.  
  90. getopt.o        : getopt.c getopt.h
  91.             $(COMPILER) $(CFLAGS) getopt.c
  92.  
  93. getopt1.o        : getopt1.c getopt.h
  94.             $(COMPILER) $(CFLAGS) getopt1.c
  95.  
  96.