diff --git a/.travis.yml b/.travis.yml index ab1c3fcd..5dc05ea3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,4 +5,4 @@ compiler: - gcc script: - - make -C test test + - make -C test diff --git a/test/Makefile b/test/Makefile index e70f55a6..e863cd1e 100644 --- a/test/Makefile +++ b/test/Makefile @@ -2,11 +2,11 @@ CFLAGS += -std=c89 -O3 -Wall -Wextra -pedantic .PHONY: clean test -test_base64: test_base64.c ../base64.c - $(CC) $(CFLAGS) -o $@ $^ - test: clean test_base64 ./test_base64 +test_base64: test_base64.c ../base64.c + $(CC) $(CFLAGS) -o $@ $^ + clean: rm -f test_base64