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.X11 999B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. # $Id: Makefile.X11,v 1.1 1999/08/19 00:55:40 jtg Exp $
  2. # Mesa 3-D graphics library
  3. # Version: 3.1
  4. # Copyright (C) 1995-1998 Brian Paul
  5. # Makefile for GLUT-based demo programs for Unix/X11
  6. ##### MACROS #####
  7. INCDIR = ../include
  8. LIBDIR = ../lib
  9. GL_LIBS = -L$(LIBDIR) -lglut -lGLU -lGL -lm $(XLIBS)
  10. LIB_DEP = $(LIBDIR)/$(GL_LIB) $(LIBDIR)/$(GLU_LIB) $(LIBDIR)/$(GLUT_LIB)
  11. PROGS = bounce clearspd drawpix gamma gears glinfo glutfx isosurf \
  12. morph3d multiarb osdemo paltex pointblast reflect \
  13. renormal spectex stex3d tessdemo texcyl texobj trispd winpos
  14. ##### RULES #####
  15. .SUFFIXES:
  16. .SUFFIXES: .c
  17. .c: $(LIB_DEP)
  18. $(CC) -I$(INCDIR) $(CFLAGS) $< $(GL_LIBS) -o $@
  19. ##### TARGETS #####
  20. default:
  21. @echo "Specify a target configuration"
  22. clean:
  23. -rm *.o *~
  24. realclean:
  25. -rm $(PROGS)
  26. -rm *.o *~
  27. targets: $(PROGS)
  28. # execute all programs
  29. exec: $(PROGS)
  30. @for prog in $(PROGS) ; \
  31. do \
  32. echo -n "Running $$prog ..." ; \
  33. $$prog ; \
  34. echo ; \
  35. done
  36. include ../Make-config