Clone of mesa.
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

Makefile 559B

123456789101112131415161718192021222324252627282930313233343536
  1. # progs/directfb/Makefile
  2. TOP = ../..
  3. include $(TOP)/configs/current
  4. INCDIR = $(TOP)/include -I$(TOP)/progs
  5. LIB_DEP = $(TOP)/$(LIB_DIR)/$(GL_LIB_NAME) $(TOP)/$(LIB_DIR)/$(GLU_LIB_NAME)
  6. CFLAGS += $(shell pkg-config --cflags directfb)
  7. APP_LIB_DEPS += $(shell pkg-config --libs directfb)
  8. PROGS = df_gears \
  9. df_reflect \
  10. df_morph3d \
  11. multi_window
  12. ##### RULES #####
  13. .SUFFIXES:
  14. .SUFFIXES: .c
  15. .c: $(LIB_DEP)
  16. $(CC) -I$(INCDIR) $(CFLAGS) $< $(APP_LIB_DEPS) -o $@
  17. ##### TARGETS #####
  18. default: $(PROGS)
  19. clean:
  20. -rm -f $(PROGS)
  21. -rm -f *.o *~