medfall

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 2022e7e338162bd4cfd9e1a485b67afa793f3095
parent ba9b35355d232a9b919800a197d69981d2d6526e
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Tue Dec 15 19:43:53 +0000

Rebuild things when relevant headers change

Diffstat:
.gitignore | 2++
Makefile | 5+++++
2 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/.gitignore b/.gitignore @@ -6,3 +6,5 @@ pp *.bsp *.parts + +.deps diff --git a/Makefile b/Makefile @@ -56,3 +56,8 @@ stb_perlin.o: stb_perlin.cc stb_truetype.o: stb_truetype.cc $(CXX) $(CXXFLAGS) -c -o $@ $^ -DSTB_TRUETYPE_IMPLEMENTATION + +%.o: %.cc + g++ -c -o $@ -MMD -MP -MF .deps/$*.d $< $(CXXFLAGS) + +-include .deps/*.d