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.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. # $Id: Makefile.BeOS-R4,v 1.3 1999/10/22 20:36:38 brianp Exp $
  2. # Mesa 3-D graphics library
  3. # Version: 3.1
  4. # Copyright (C) 1995-1999 Brian Paul
  5. # Makefile for GLUT-based demo programs for BeOS R4
  6. ##### MACROS #####
  7. INCDIR = ../include
  8. LIBDIR = ../lib
  9. GL_LIBS = -L$(LIBDIR) -L/boot/home/config/lib -Xlinker -rpath $(LIBDIR) -lbe -lglut -lGLU -lGL $(XLIBS)
  10. LIB_DEP = $(LIBDIR)/$(GL_LIB) $(LIBDIR)/$(GLU_LIB) $(LIBDIR)/$(GLUT_LIB)
  11. PROGS = bounce clearspd drawpix gamma gears glinfo gloss isosurf \
  12. morph3d multiarb osdemo paltex pointblast reflect \
  13. renormal spectex stex3d 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