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

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. # progs/rbug/Makefile
  2. TOP = ../..
  3. include $(TOP)/configs/current
  4. INCLUDES = \
  5. -I. \
  6. -I$(TOP)/src/gallium/include \
  7. -I$(TOP)/src/gallium/auxiliary \
  8. -I$(TOP)/src/gallium/drivers \
  9. $(PROG_INCLUDES)
  10. LINKS = \
  11. $(GALLIUM_AUXILIARIES) \
  12. $(PROG_LINKS)
  13. SOURCES = \
  14. bin_to_bmp.c \
  15. simple_client.c \
  16. simple_server.c \
  17. shdr_info.c \
  18. shdr_dump.c \
  19. shdr_disable.c \
  20. ctx_info.c \
  21. tex_info.c \
  22. tex_dump.c
  23. OBJECTS = $(SOURCES:.c=.o)
  24. PROGS = $(OBJECTS:.o=)
  25. ##### TARGETS #####
  26. default: $(OBJECTS) $(PROGS)
  27. clean:
  28. -rm -f $(PROGS)
  29. -rm -f *.o
  30. ##### RULES #####
  31. $(OBJECTS): %.o: %.c
  32. $(CC) -c $(INCLUDES) $(CFLAGS) $(DEFINES) $(PROG_DEFINES) $< -o $@
  33. $(PROGS): %: %.o
  34. $(CC) $(LDFLAGS) $< $(LINKS) -o $@