1
0
mirror of https://github.com/janet-lang/janet synced 2024-11-24 09:17:17 +00:00

No longer make extra object files.

This commit is contained in:
Calvin Rose 2018-12-09 17:51:53 -05:00
parent 21d4b8fe1f
commit 0a15539d7b

View File

@ -124,14 +124,10 @@ build/webinit.gen.c: src/webclient/webinit.janet build/xxd
###################
TEST_SOURCES=$(wildcard ctest/*.c)
TEST_OBJECTS=$(patsubst ctest/%.c,build/%.o,$(TEST_SOURCES))
TEST_PROGRAMS=$(patsubst ctest/%.c,build/%.out,$(TEST_SOURCES))
TEST_SCRIPTS=$(wildcard test/suite*.janet)
build/%.o: ctest/%.c $(JANET_HEADERS)
$(CC) $(CFLAGS) -o $@ -c $<
build/%.out: build/%.o $(JANET_CORE_OBJECTS)
build/%.out: ctest/%.c $(JANET_CORE_OBJECTS)
$(CC) $(CFLAGS) -o $@ $^ $(CLIBS)
repl: $(JANET_TARGET)