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.

1234567891011121314151617181920212223242526272829303132333435
  1. # Simple makefile for compiling test programs on Linux
  2. # These programs aren't intended to be included with the normal
  3. # distro as they're not too interesting but good for testing during
  4. # development.
  5. CC = gcc
  6. CFLAGS = -c -g -I../include
  7. LIBS = -L../lib -lglut -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXext -lm
  8. PROGRAMS = manytex sharedtex
  9. default: $(PROGRAMS)
  10. clean:
  11. rm -f $(PROGRAMS)
  12. rm -f *.o
  13. manytex: manytex.o
  14. $(CC) manytex.o $(LIBS) -o $@
  15. manytex.o: manytex.c
  16. $(CC) $(CFLAGS) manytex.c
  17. sharedtex: sharedtex.o
  18. $(CC) sharedtex.o $(LIBS) -o $@
  19. sharedtex.o: sharedtex.c
  20. $(CC) $(CFLAGS) sharedtex.c