home *** CD-ROM | disk | FTP | other *** search
/ Magazyn Amiga 5 / MA_Cover_5.iso / ppc / mesa / openstep / makefile < prev    next >
Encoding:
Makefile  |  1998-01-31  |  551 b   |  19 lines

  1. INCDIR = ../include
  2. GL_LIBS = generic.o -L../lib -lMesaaux -lMesaGLU -lMesaGL $(XLIBS)
  3. LIB_DEP = ../lib/$(GL_LIB) ../lib/$(GLU_LIB) ../lib/$(TK_LIB) ../lib/$(AUX_LIB)
  4. PROGS = chess cone_ball material tea teapots texgen nurbs surface\
  5.     checker checker2 texturesurf sphere cone font model disk
  6.  
  7. all: generic.o $(PROGS)
  8.     (cd MesaView; gnumake)
  9.  
  10. generic.o:
  11.     $(CC) -c -I$(INCDIR) $(CFLAGS) $< -o $@
  12.  
  13. .c: $(LIB_DEP) generic.o
  14.     $(CC) -I$(INCDIR) $(CFLAGS) $< $(GL_LIBS) -framework AppKit -o $@
  15.  
  16. clean:
  17.     rm -f $(PROGS) generic.o
  18.     (cd MesaView; gnumake clean)
  19.