diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2016-04-03 13:28:03 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2016-04-03 21:38:05 +0200 |
| commit | 378e3b7c01d07659b85bb77786461e91a1c6d8ab (patch) | |
| tree | 99457a8396cf5b6345df4556f72be972d222a3d9 | |
| parent | 7a39508120192d2651aba5387054d3bbcd15a96c (diff) | |
| download | vis-378e3b7c01d07659b85bb77786461e91a1c6d8ab.tar.gz vis-378e3b7c01d07659b85bb77786461e91a1c6d8ab.tar.xz | |
build: explicitly list sources files
| -rw-r--r-- | Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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}' |
