X-Git-Url: http://git.jankratochvil.net/?p=debugger.git;a=blobdiff_plain;f=Makefile;h=8065c6599ce681683bf3f257e7f9c993a99fddc7;hp=43c9ea2bae33998d8fbe7d2446b9348e2a36d017;hb=c4d096db0ca0a93738cb3d3faa3db51d977c93be;hpb=5d8091cb8d4b499f0892cbc21dbf11bd4994af30 diff --git a/Makefile b/Makefile index 43c9ea2..8065c65 100644 --- a/Makefile +++ b/Makefile @@ -3,17 +3,18 @@ ELFUTILS=../elfutils-0.127 ifdef ELFUTILS CC+=-I$(ELFUTILS)/include -L$(ELFUTILS)/lib endif +LIBS=-lthread_db -ldw -lelf -lebl -ldl all: debugger check debugger: debugger.c debugger.h - $(CC) -o $@ $< + $(CC) -o $@ $< $(LIBS) testsuite: testsuite.c debugger.c debugger.h - $(CC) -o $@ $< -pthread + $(CC) -o $@ $< $(LIBS) threadtest: threadtest.c - $(CC) -o $@ $< -lthread_db -ldw -lelf -lebl -ldl + $(CC) -o $@ $< $(LIBS) .PHONY: check check: testsuite