diff options
| author | Randy Palamar <randy@rnpnr.xyz> | 2025-12-13 09:37:21 -0700 |
|---|---|---|
| committer | Randy Palamar <randy@rnpnr.xyz> | 2025-12-16 11:28:44 -0700 |
| commit | 5abe94420528d3e107eceb0f3df073e8a1270191 (patch) | |
| tree | 332ab323c429250efcd086b15dac9beff6625a60 /test/core/Makefile | |
| parent | bafcf13695f80dac6d9be87b65ad6156ddc3d621 (diff) | |
| download | vis-5abe94420528d3e107eceb0f3df073e8a1270191.tar.gz vis-5abe94420528d3e107eceb0f3df073e8a1270191.tar.xz | |
make vis a single file build
Diffstat (limited to 'test/core/Makefile')
| -rw-r--r-- | test/core/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/core/Makefile b/test/core/Makefile index 4430cde..fc108f0 100644 --- a/test/core/Makefile +++ b/test/core/Makefile @@ -2,7 +2,7 @@ ALL = buffer-test map-test array-test text-test SRC = $(wildcard ccan/*/*.c) -CFLAGS += -I. -I../.. -DBUFFER_SIZE=4 -DBLOCK_SIZE=4 +CFLAGS += -Wno-unused-function -I. -I../.. -DBUFFER_SIZE=4 -DBLOCK_SIZE=4 test: $(ALL) @./buffer-test @@ -16,7 +16,7 @@ config.h: text-test: config.h text-test.c ../../text.c ../../text-common.c ../../text-io.c ../../text-iterator.c ../../text-util.c ../../text-motions.c ../../text-objects.c ../../text-regex.c ../../array.c @echo Compiling $@ binary - @${CC} ${CFLAGS} ${CFLAGS_STD} ${CFLAGS_EXTRA} ${filter %.c, $^} ${SRC} ${LDFLAGS} -o $@ + @${CC} ${CFLAGS} ${CFLAGS_STD} ${CFLAGS_EXTRA} text-test.c ${SRC} ${LDFLAGS} -o $@ buffer-test: config.h buffer-test.c ../../buffer.c @echo Compiling $@ binary @@ -24,7 +24,7 @@ buffer-test: config.h buffer-test.c ../../buffer.c map-test: config.h map-test.c ../../map.c @echo Compiling $@ binary - @${CC} ${CFLAGS} ${CFLAGS_STD} ${CFLAGS_EXTRA} ${filter %.c, $^} ${SRC} ${LDFLAGS} -o $@ + @${CC} ${CFLAGS} ${CFLAGS_STD} ${CFLAGS_EXTRA} map-test.c ${SRC} ${LDFLAGS} -o $@ array-test: config.h array-test.c ../../array.c @echo Compiling $@ binary |
