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.BeOS-R4 1.1KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. # $Id: Makefile.BeOS-R4,v 1.2 1999/09/17 00:08:38 brianp Exp $
  2. # Mesa 3-D graphics library
  3. # Version: 3.1
  4. # Copyright (C) 1995-1999 Brian Paul
  5. #
  6. # This file is in the public domain.
  7. # Makefile for sample programs for BeOS R4
  8. ##### MACROS #####
  9. INCDIR = ../include
  10. LIBDIR = ../lib
  11. GL_LIBS = -L$(LIBDIR) -L/boot/home/config/lib -Xlinker -rpath $(LIBDIR) -lbe -lglut -lGLU -lGL $(XLIBS)
  12. LIB_DEP = $(LIBDIR)/$(GL_LIB) $(LIBDIR)/$(GLU_LIB) $(LIBDIR)/$(GLUT_LIB)
  13. PROGS = accum bitmap1 bitmap2 blendeq blendxor copy cursor depth eval fog \
  14. font line logo olympic overlay point prim select \
  15. shape sphere star stencil stretch texture tri wave
  16. ##### RULES #####
  17. .SUFFIXES:
  18. .SUFFIXES: .c
  19. .c: $(LIB_DEP)
  20. $(CC) -I$(INCDIR) $(CFLAGS) $< $(GL_LIBS) -o $@
  21. ##### TARGETS #####
  22. default:
  23. @echo "Specify a target configuration"
  24. clean:
  25. -rm *.o *~
  26. realclean:
  27. -rm $(PROGS)
  28. -rm *.o *~
  29. targets: $(PROGS)
  30. # execute all programs
  31. exec: $(PROGS)
  32. @for prog in $(PROGS) ; \
  33. do \
  34. echo -n "Running $$prog ..." ; \
  35. $$prog ; \
  36. echo ; \
  37. done
  38. include ../Make-config