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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. # Simple makefile for compiling test programs on Linux
  2. # These programs aren't intended to be included with the normal
  3. # distro. They're not too interesting but they're good for testing.
  4. CC = gcc
  5. CFLAGS = -g -I../include
  6. LIBS = -L../lib -lglut -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXext -lm
  7. PROGS = antialias \
  8. cva \
  9. dinoshade \
  10. fogcoord \
  11. getprocaddress \
  12. manytex \
  13. multipal \
  14. projtex \
  15. seccolor \
  16. sharedtex \
  17. stencilwrap \
  18. texline \
  19. texwrap \
  20. vptest1 \
  21. vptest2 \
  22. vptest3 \
  23. vptorus \
  24. vpwarpmesh
  25. ##### RULES #####
  26. .SUFFIXES:
  27. .SUFFIXES: .c
  28. .c:
  29. $(CC) $(CFLAGS) $< $(LIBS) -o $@
  30. ##### TARGETS #####
  31. default: $(PROGS)
  32. clean:
  33. rm -f $(PROGS)
  34. rm -f *.o
  35. # auto code generation
  36. getprocaddress: getprocaddress.c getproclist.h
  37. getproclist.h: ../bin/APIspec getprocaddress.c getprocaddress.py
  38. python getprocaddress.py > getproclist.h