Skip to content
This repository has been archived by the owner on Jul 21, 2018. It is now read-only.

Commit

Permalink
Merge pull request #1 from tessus/fix-makefile
Browse files Browse the repository at this point in the history
Fix makefile
  • Loading branch information
andre-simon authored Apr 14, 2017
2 parents cb7a0f2 + e9d83e3 commit b1d41cd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
CC=g++

# Added -std=c++11 because of auto_ptr to unique_ptr transition
CFLAGS= -c -Wall -O2 -DNDEBUG -std=c++11
CFLAGS= -Wall -O2 -DNDEBUG -std=c++11

LDFLAGS=

Expand All @@ -20,10 +20,10 @@ EXECUTABLE=ansifilter
all: $(SOURCES) $(EXECUTABLE)

$(EXECUTABLE): $(OBJECTS)
$(CC) $(LDFLAGS) $(OBJECTS) -o $@
$(CC) $(LDFLAGS) $(EXTRA_LDFLAGS) $(OBJECTS) -o $@

.cpp.o:
$(CC) $(CFLAGS) $< -o $@
$(CC) -c $(CFLAGS) $(CXXFLAGS) $< -o $@

clean:
@rm -f *.o
Expand Down

0 comments on commit b1d41cd

Please sign in to comment.