home *** CD-ROM | disk | FTP | other *** search
/ gondwana.ecr.mu.oz.au/pub/ / Graphics.tar / Graphics / fermiVogle.tar.Z / fermiVogle.tar / devel / examples / makefile.dj < prev    next >
Makefile  |  1996-02-07  |  715b  |  38 lines

  1. #
  2. # examples makefile 
  3. #
  4. CC = gcc
  5.  
  6. CEXAMPS = trivial simple shapes poly views circtxt moretxt jtext curves \
  7.       lstyles getstr patches balls objvws world loc teapot showg \
  8.       cube lcube tetra licosa beer
  9.  
  10. COBJS = trivial.o simple.o shapes.o poly.o views.o circtxt.o jtext.o moretxt.o \
  11.     lstyles.o getstr.o curves.o patches.o balls.o objvws.o world.o loc.o \
  12.     teapot.o showg.o cube.o lcube.o tetra.o licosa.o beer.o
  13.  
  14. #
  15. # Where to find librarys
  16. #
  17. OURLIBS = -L../src -lvogle
  18. LIBS = -lgrx
  19. MCFLAGS = -O -I../src
  20.  
  21. CFLAGS = $(MCFLAGS)
  22.  
  23. all:    $(CEXAMPS)
  24.  
  25. $(CEXAMPS): $(COBJS) ..\src\libvogle.a
  26.     $(CC) $(CFLAGS) -o $@ $@.o $(OURLIBS) $(LIBS) -lm
  27.     aout2exe $@
  28.     del $@
  29.  
  30. clean:
  31.     del *.o
  32.  
  33. install:
  34.  
  35. clobber:
  36.     del *.o
  37.     del *.exe
  38.