Skip to content

Commit

Permalink
Tests: move Makefile targets around so test is default
Browse files Browse the repository at this point in the history
  • Loading branch information
aklomp committed Jan 3, 2015
1 parent 61df3e7 commit 0bc921f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -5,4 +5,4 @@ compiler:
- gcc

script:
- make -C test test
- make -C test
6 changes: 3 additions & 3 deletions test/Makefile
Expand Up @@ -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

0 comments on commit 0bc921f

Please sign in to comment.