Code

Move includes, macros and core utilities to tig.h
[tig.git] / Makefile
index 86c455a72b1925256bdd34fd5ab7d3d85725a100..e9670fb376449af9ed85ca1886bafaca4932efda 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -36,6 +36,7 @@ LDLIBS ?= -lcurses
 CFLAGS ?= -Wall -O2
 DFLAGS = -g -DDEBUG -Werror -O0
 PROGS  = tig
+SOURCE = tig.c tig.h
 TXTDOC = tig.1.txt tigrc.5.txt manual.txt NEWS README INSTALL BUGS TODO
 MANDOC = tig.1 tigrc.5 tigmanual.7
 HTMLDOC = tig.1.html tigrc.5.html manual.html README.html NEWS.html
@@ -148,7 +149,7 @@ configure: configure.ac acinclude.m4
 .PHONY: all all-debug doc doc-man doc-html install install-doc \
        install-doc-man install-doc-html clean spell-check dist rpm
 
-tig.o: tig.c
+tig.o: tig.c tig.h
 tig: tig.o
 
 tig.spec: contrib/tig.spec.in