Skip to content

Commit

Permalink
Make rebuild examples if ../../src/py2cpp.hpp has changed
Browse files Browse the repository at this point in the history
  • Loading branch information
dubzzz committed Oct 21, 2015
1 parent 7ece232 commit 3170103
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/01-primitives_to_cpp/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ clean:

# *.o files compilation

build/main.o: src/main.cpp
build/main.o: src/main.cpp ../../src/py2cpp.hpp
mkdir -p build
$(CC) -o build/main.o -c src/main.cpp $(CFLAGS)

Expand Down
2 changes: 1 addition & 1 deletion examples/02-to_cpp_containers/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ clean:

# *.o files compilation

build/main.o: src/main.cpp
build/main.o: src/main.cpp ../../src/py2cpp.hpp
mkdir -p build
$(CC) -o build/main.o -c src/main.cpp $(CFLAGS)

Expand Down
2 changes: 1 addition & 1 deletion examples/03-to_cpp_classes/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ clean:

# *.o files compilation

build/main.o: src/main.cpp
build/main.o: src/main.cpp ../../src/py2cpp.hpp
mkdir -p build
$(CC) -o build/main.o -c src/main.cpp $(CFLAGS)

Expand Down

0 comments on commit 3170103

Please sign in to comment.