X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Makefile;h=3b211117320d44bddf5e5310255bd0f367b01032;hb=c77942d3d053415bcf1a09f79e8b05a7b76f6de2;hp=044348294ab8be34cf37f7ac25a85f3b83d10889;hpb=607cfb11cd9b6e2beaa36158d77842f8aac7fd67;p=tig.git diff --git a/Makefile b/Makefile index 0443482..3b21111 100644 --- a/Makefile +++ b/Makefile @@ -35,7 +35,8 @@ RPM_RELEASE = $(word 2,$(RPM_VERLIST))$(if $(WTDIRTY),.dirty) LDLIBS ?= -lcurses CFLAGS ?= -Wall -O2 DFLAGS = -g -DDEBUG -Werror -O0 -PROGS = tig test-graph +PROGS = tig +TESTS = test-graph SOURCE = tig.c tig.h io.c io.h graph.c graph.h TXTDOC = tig.1.txt tigrc.5.txt manual.txt NEWS README INSTALL BUGS TODO MANDOC = tig.1 tigrc.5 tigmanual.7 @@ -59,8 +60,8 @@ ASCIIDOC_FLAGS = -aversion=$(VERSION) -asysconfdir=$(sysconfdir) XMLTO ?= xmlto DOCBOOK2PDF ?= docbook2pdf -all: $(PROGS) -all-debug: $(PROGS) +all: $(PROGS) $(TESTS) +all-debug: $(PROGS) $(TESTS) all-debug: CFLAGS += $(DFLAGS) doc: $(ALLDOC) doc-man: $(MANDOC)