Clone of mesa.
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

Makefile 808B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. # progs/tests/Makefile
  2. # These programs aren't intended to be included with the normal distro.
  3. # They're not too interesting but they're good for testing.
  4. TOP = ../..
  5. include $(TOP)/configs/current
  6. LIBS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLEW_LIB) -l$(GLU_LIB) -l$(GL_LIB) $(APP_LIB_DEPS)
  7. SOURCES = \
  8. vp-tris.c
  9. PROGS = $(SOURCES:%.c=%)
  10. INCLUDES = -I. -I$(TOP)/include -I../samples
  11. ##### RULES #####
  12. .SUFFIXES:
  13. .SUFFIXES: .c
  14. .c:
  15. $(APP_CC) $(INCLUDES) $(CFLAGS) $(LDFLAGS) $< $(LIBS) -o $@
  16. .c.o:
  17. $(APP_CC) -c $(INCLUDES) $(CFLAGS) $(DEFINES) $< -o $@
  18. .S.o:
  19. $(APP_CC) -c $(INCLUDES) $(CFLAGS) $(DEFINES) $< -o $@
  20. ##### TARGETS #####
  21. default: $(PROGS)
  22. clean:
  23. -rm -f $(PROGS)
  24. -rm -f *.o
  25. -rm -f getproclist.h
  26. # Emacs tags
  27. tags:
  28. etags `find . -name \*.[ch]` `find ../include`