Skip to content

Commit

Permalink
Travis fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
jfjlaros committed Jan 12, 2020
1 parent b391481 commit fa680ff
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ FIXTURES := ../src/Arduino


CC := g++
CFLAGS := -std=c++11


OBJS := $(addsuffix .o, $(TESTS) $(FIXTURES))
Expand All @@ -15,10 +16,10 @@ OBJS := $(addsuffix .o, $(TESTS) $(FIXTURES))
all: $(EXEC)

$(EXEC): $(MAIN).cc $(OBJS)
$(CC) -o $@ $^
$(CC) $(CFLAGS) -o $@ $^

%.o: %.cc
$(CC) -o $@ -c $<
$(CC) $(CFLAGS) -o $@ -c $<

check: all
valgrind ./$(EXEC)
Expand Down

0 comments on commit fa680ff

Please sign in to comment.