Rename test runner

This commit is contained in:
Nick Chambers 2022-06-29 02:13:23 -05:00
parent 2999592c80
commit 64dcbdb526
1 changed files with 3 additions and 3 deletions

View File

@ -28,11 +28,11 @@ bin/%.o: src/%.c | init
docs:
@printf "not implemented yet.\n" >&2
test: bin/libgargoyle.so bin/gargoyle
test: bin/libgargoyle.so bin/gargoyle-test
bin/gargoyle-test
bin/gargoyle: $(addprefix bin/test/,$(addsuffix .o,$(GARGOYLE_TEST_OBJS)))
bin/gargoyle-test: $(addprefix bin/test/,$(addsuffix .o,$(GARGOYLE_TEST_OBJS)))
cc $(LDFLAGS) -L bin -o $@ $^ -l gargoyle -l cunit
bin/gargoyle
bin/test/%.o: test/%.c | init
cc $(CFLAGS) -std=c99 -I include -c -o $@ $<