diff options
author | Jakob Bornecrantz <[email protected]> | 2009-06-01 11:20:05 +0100 |
---|---|---|
committer | Jakob Bornecrantz <[email protected]> | 2009-06-01 11:39:25 +0100 |
commit | 85e0572756b85b7025740fbbefb673cf75a46cea (patch) | |
tree | cd5595fb0f8509c39618569be7c01c873f2a13fc /progs/rbug/Makefile | |
parent | 01fa34cb98d9ea6008c7108b6112348e278864f4 (diff) |
progs/rbug: Add small remote debugging cli applications
Diffstat (limited to 'progs/rbug/Makefile')
-rw-r--r-- | progs/rbug/Makefile | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/progs/rbug/Makefile b/progs/rbug/Makefile new file mode 100644 index 00000000000..8df03dd4e19 --- /dev/null +++ b/progs/rbug/Makefile @@ -0,0 +1,46 @@ +# progs/rbug/Makefile + +TOP = ../.. +include $(TOP)/configs/current + +INCLUDES = \ + -I. \ + -I$(TOP)/src/gallium/include \ + -I$(TOP)/src/gallium/auxiliary \ + -I$(TOP)/src/gallium/drivers \ + $(PROG_INCLUDES) + +LINKS = \ + $(GALLIUM_AUXILIARIES) \ + $(PROG_LINKS) + +SOURCES = \ + simple_client.c \ + simple_server.c \ + shdr_info.c \ + shdr_dump.c \ + shdr_disable.c \ + ctx_info.c \ + tex_info.c \ + tex_dump.c + + +OBJECTS = $(SOURCES:.c=.o) + +PROGS = $(OBJECTS:.o=) + +##### TARGETS ##### + +default: $(OBJECTS) $(PROGS) + +clean: + -rm -f $(PROGS) + -rm -f *.o + +##### RULES ##### + +$(OBJECTS): %.o: %.c + $(CC) -c $(INCLUDES) $(CFLAGS) $(DEFINES) $(PROG_DEFINES) $< -o $@ + +$(PROGS): %: %.o + $(CC) $(LDFLAGS) $< $(LINKS) -o $@ |