diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2016-12-15 20:29:10 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2016-12-16 22:20:05 +0100 |
| commit | 138d455393683532fb9d96fd398dfcdfa5d97057 (patch) | |
| tree | 2102e8ffa63c294bb2824ce5ff539c32694ed13a /core/Makefile | |
| parent | c06ae6ba12a908bd87e00b27d00a79e305ea53c7 (diff) | |
| download | vis-138d455393683532fb9d96fd398dfcdfa5d97057.tar.gz vis-138d455393683532fb9d96fd398dfcdfa5d97057.tar.xz | |
text/core: fix make debug and related warnings
Diffstat (limited to 'core/Makefile')
| -rw-r--r-- | core/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/core/Makefile b/core/Makefile index 3cf06ce..578d705 100644 --- a/core/Makefile +++ b/core/Makefile @@ -15,22 +15,22 @@ config.h: text: config.h text.c ../../text.c ../../text-util.c ../../text-motions.c ../../text-objects.c ../../text-regex.c @echo Compiling $@ binary - @${CC} ${CFLAGS} ${CFLAGS_STD} ${filter %.c, $^} ${SRC} ${LDFLAGS} -o $@ + @${CC} ${CFLAGS} ${CFLAGS_STD} ${CFLAGS_EXTRA} ${filter %.c, $^} ${SRC} ${LDFLAGS} -o $@ buffer: config.h buffer.c ../../buffer.c @echo Compiling $@ binary - @${CC} ${CFLAGS} ${CFLAGS_STD} ${filter %.c, $^} ${SRC} ${LDFLAGS} -o $@ + @${CC} ${CFLAGS} ${CFLAGS_STD} ${CFLAGS_EXTRA} ${filter %.c, $^} ${SRC} ${LDFLAGS} -o $@ map: config.h map.c ../../map.c @echo Compiling $@ binary - @${CC} ${CFLAGS} ${CFLAGS_STD} ${filter %.c, $^} ${SRC} ${LDFLAGS} -o $@ + @${CC} ${CFLAGS} ${CFLAGS_STD} ${CFLAGS_EXTRA} ${filter %.c, $^} ${SRC} ${LDFLAGS} -o $@ array: config.h array.c ../../array.c @echo Compiling $@ binary - @${CC} ${CFLAGS} ${CFLAGS_STD} ${filter %.c, $^} ${SRC} ${LDFLAGS} -o $@ + @${CC} ${CFLAGS} ${CFLAGS_STD} ${CFLAGS_EXTRA} ${filter %.c, $^} ${SRC} ${LDFLAGS} -o $@ debug: clean - $(MAKE) CFLAGS_VIS='${DEBUG_CFLAGS_VIS}' + $(MAKE) CFLAGS_EXTRA='${CFLAGS_DEBUG}' clean: @echo cleaning |
