Clone of mesa.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Makefile.cygnus 908B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. # $Id: Makefile.cygnus,v 1.2 1999/10/22 20:37:23 brianp Exp $
  2. # Mesa 3-D graphics library
  3. # Version: 3.1
  4. # Copyright (C) 1995-1999 Brian Paul
  5. # Makefile for demo programs for cygnus
  6. # Stephane Rehel (rehel@worldnet.fr) April 13 1997
  7. ##### MACROS #####
  8. INCDIR = ../include
  9. LIBDIR = ../lib
  10. GL_LIBS = -L$(LIBDIR) -lglut -lMesaGLU -lMesaGL -lm $(WLIBS)
  11. LIB_DEP = $(LIBDIR)/$(GL_LIB) $(LIBDIR)/$(GLU_LIB) $(LIBDIR)/$(GLUT_LIB)
  12. PROGS = clearspd drawpix gamma gears glinfo glutfx gloss isosurf \
  13. morph3d multiext osdemo paltex pointblast reflect \
  14. renormal spectex stex3d tessdemo texcyl texobj trispd winpos
  15. ##### RULES #####
  16. .SUFFIXES:
  17. .SUFFIXES: .c
  18. .c: $(LIB_DEP)
  19. $(CC) -I$(INCDIR) $(CFLAGS) $< $(GL_LIBS) -o $@
  20. ##### TARGETS #####
  21. default:
  22. @echo "Specify a target configuration"
  23. clean:
  24. -rm *.o *~
  25. realclean:
  26. -rm $(PROGS:=.exe)
  27. -rm *.o *~
  28. targets: $(PROGS)
  29. include ../Make-config