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.X11 724B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # Makefile for assorted SGI OpenGL demos
  2. ##### MACROS #####
  3. TOP = ../..
  4. INCDIR = $(TOP)/include
  5. LIBDIR = $(TOP)/lib
  6. LIBS = -L$(LIBDIR) $(APP_LIB_DEPS)
  7. LIB_DEP = $(LIBDIR)/$(GL_LIB) $(LIBDIR)/$(GLU_LIB) $(LIBDIR)/$(GLUT_LIB)
  8. PROGS = accum bitmap1 bitmap2 blendeq blendxor copy cursor depth eval fog \
  9. font line logo nurb oglinfo olympic overlay point prim quad select \
  10. shape sphere star stencil stretch texture tri wave
  11. ##### RULES #####
  12. .SUFFIXES:
  13. .SUFFIXES: .c
  14. .c: $(LIB_DEP)
  15. $(CC) -I$(INCDIR) $(CFLAGS) $< $(LIBS) -o $@
  16. ##### TARGETS #####
  17. default:
  18. @echo "Specify a target configuration"
  19. clean:
  20. -rm -f *.o *~
  21. realclean:
  22. -rm -f $(PROGS)
  23. -rm -f *.o *~
  24. targets: $(PROGS)
  25. include $(TOP)/Make-config