From 378e3b7c01d07659b85bb77786461e91a1c6d8ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Sun, 3 Apr 2016 13:28:03 +0200 Subject: build: explicitly list sources files --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 97adf0d..364e194 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,10 @@ -include config.mk +SRC = array.c buffer.c libutf.c main.c map.c register.c ring-buffer.c \ + sam.c text.c text-motions.c text-objects.c text-regex.c text-util.c \ + ui-curses.c view.c vis.c vis-cmds.c vis-lua.c vis-modes.c vis-motions.c \ + vis-operators.c vis-prompt.c vis-text-objects.c + # conditionally initialized, this is needed for standalone build # with empty config.mk PREFIX ?= /usr/local @@ -41,7 +46,7 @@ config.mk: @touch $@ vis: config.h config.mk *.c *.h - ${CC} ${CFLAGS} ${CFLAGS_VIS} *.c ${LDFLAGS} ${LDFLAGS_VIS} -o $@ + ${CC} ${CFLAGS} ${CFLAGS_VIS} ${SRC} ${LDFLAGS} ${LDFLAGS_VIS} -o $@ debug: clean @$(MAKE) CFLAGS_VIS='${DEBUG_CFLAGS_VIS}' -- cgit v1.2.3