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 648B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # $Id: Makefile,v 1.2 1999/09/17 00:55:21 brianp Exp $
  2. # Makefile for BeOS demos
  3. # Written by Brian Paul
  4. # This file is in the public domain.
  5. CC = g++
  6. # Use Mesa:
  7. CFLAGS = -I../include -c -g
  8. LFLAGS = -L../lib -Xlinker -rpath ../lib -lbe -lGL
  9. # Use BeOS OpenGL:
  10. #CFLAGS = -I/boot/develop/headers/be/opengl -c -g
  11. #LFLAGS = -L../lib -Xlinker -rpath ../lib -lbe -lGL
  12. PROGRAMS = demo sample
  13. default: $(PROGRAMS)
  14. clean:
  15. rm -f demo sample
  16. rm -f *.o
  17. demo: demo.o
  18. $(CC) demo.o $(LFLAGS) -o $@
  19. demo.o: demo.cpp
  20. $(CC) $(CFLAGS) demo.cpp
  21. sample: sample.o
  22. $(CC) sample.o $(LFLAGS) -o $@
  23. sample.o: sample.cpp
  24. $(CC) $(CFLAGS) sample.cpp