home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / CLIPPER / MISC / EMXLIB8F.ZIP / EMX / LIB / GRAPH / MAKEFILE < prev   
Encoding:
Text File  |  1992-12-29  |  959 b   |  39 lines

  1. #
  2. # /emx/lib/graph/makefile
  3. #
  4. GCC=gcc -O -Wall -mprobe
  5. AR=ar
  6. I=/emx/include/
  7.  
  8. LIBGRAPH=../libgraph.a
  9.  
  10. .SUFFIXES: .s .o .obj
  11.  
  12. .c.o:
  13.     $(GCC) -c $*.c
  14.  
  15. default:    $(LIBGRAPH)
  16.  
  17. clean:
  18.     -del *.o $(DELOPT)
  19.  
  20. graph1.o: graph1.c $(I)graph.h graph2.h
  21. gbox.o: gbox.c $(I)graph.h graph2.h
  22. gclip.o: gclip.c $(I)graph.h graph2.h
  23. gellipse.o: gellipse.c $(I)graph.h graph2.h
  24. gget.o: gget.c $(I)graph.h graph2.h
  25. ghline.o: ghline.c $(I)graph.h graph2.h
  26. gline.o: gline.c $(I)graph.h graph2.h
  27. gpolygon.o: gpolygon.c $(I)graph.h graph2.h
  28. gset.o: gset.c $(I)graph.h graph2.h
  29. gtriangl.o: gtriangl.c $(I)graph.h graph2.h
  30. gvgapal.o: gvgapal.c $(I)graph.h graph2.h
  31. gvline.o: gvline.c $(I)graph.h graph2.h
  32. gwaitv.o: gwaitv.c $(I)graph.h graph2.h
  33.  
  34. $(LIBGRAPH): graph1.o gbox.o gclip.o gellipse.o gget.o ghline.o gline.o \
  35.     gpolygon.o gset.o gtriangl.o gvgapal.o gvline.o gwaitv.o
  36.     -del ..\libgraph.a
  37.     $(AR) r $(LIBGRAPH) *.o
  38.     $(AR) s $(LIBGRAPH)
  39.