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.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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. ctx_rule.c \
  22. tex_info.c \
  23. tex_dump.c
  24. OBJECTS = $(SOURCES:.c=.o)
  25. PROGS = $(OBJECTS:.o=)
  26. ##### TARGETS #####
  27. default: $(OBJECTS) $(PROGS)
  28. clean:
  29. -rm -f $(PROGS)
  30. -rm -f *.o
  31. ##### RULES #####
  32. $(OBJECTS): %.o: %.c
  33. $(CC) -c $(INCLUDES) $(CFLAGS) $(DEFINES) $(PROG_DEFINES) $< -o $@
  34. $(PROGS): %: %.o
  35. $(CC) $(LDFLAGS) $< $(LINKS) -lm -o $@