Skip to content

Commit

Permalink
Makefile bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
LeandroLovisolo committed Aug 24, 2014
1 parent f8a0080 commit 12727af
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@ CPP = g++
CPPFLAGS = -std=c++11 -ggdb
BIN = $(CPP) $(CPPFLAGS) $^ -o $@

ALL: $(patsubst src/%.cpp, bin/%, $(wildcard src/*.cpp))
ALL = $(patsubst src/%.cpp, bin/%, $(wildcard src/*.cpp))

.PHONY: clean

all: $(ALL)

bin/%: src/%.cpp
$(BIN)

clean:
rm -f $(ALL)
rm -f $(ALL)

0 comments on commit 12727af

Please sign in to comment.