diff options
author | olpc user <olpc@xo-5d-f7-86.localdomain> | 2019-12-31 11:27:44 -0800 |
---|---|---|
committer | olpc user <olpc@xo-5d-f7-86.localdomain> | 2019-12-31 11:27:44 -0800 |
commit | 5414c74f7c85c90fcbd7efc385248e873d7753dc (patch) | |
tree | b763f9654822bedebb1657ca3ad142693a41b932 /starts/meaning-vm/makefile | |
parent | a131c1f038a855a5102df11d3dab21e535071b19 (diff) | |
download | standingwithresilience-5414c74f7c85c90fcbd7efc385248e873d7753dc.tar.gz standingwithresilience-5414c74f7c85c90fcbd7efc385248e873d7753dc.zip |
working on runtime errors
Diffstat (limited to 'starts/meaning-vm/makefile')
-rw-r--r-- | starts/meaning-vm/makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/starts/meaning-vm/makefile b/starts/meaning-vm/makefile index b2df672..6e03081 100644 --- a/starts/meaning-vm/makefile +++ b/starts/meaning-vm/makefile @@ -13,10 +13,12 @@ liblevel2.a: $(patsubst %.cpp,%.o,$(wildcard level-0/*.cpp)) $(patsubst %.cpp,%. habit-starts/rhythm: habit-starts/rhythm.o liblevel2.a +-include $(patsubst %.cpp,%.d,$(wildcard level-0/*.cpp) $(wildcard level-1/*.cpp) $(wildcrd level-2/*.cpp) $(wildcard level*.cpp)) + %.o: %.ii - $(CXX) $(CXXFLAGS) -c $^ -o $@ -%.ii: %.cpp - $(CXX) $(CPPFLAGS) $(CXXFLAGS) -E $< -o $@ + $(CXX) $(CXXFLAGS) -c $*.ii -o $*.o +%.ii %.d: %.cpp + $(CXX) $(CPPFLAGS) $(CXXFLAGS) -MMD -MQ $*.ii -E $*.cpp -o $*.ii .INTERMEDIATE: $(patsubst %.cpp,%.ii,$(wildcard */*.cpp) $(wildcard *.cpp)) level-0/%.ii: $(wildcard level-0/*.hpp) @@ -28,4 +30,4 @@ level-2/%.ii: $(wildcard level-0/*.hpp) $(wildcard level-1/*.hpp) $(wildcard lev ranlib $@ clean: - -rm *.ii *.o level? *.a */*.o */*.ii + -rm *.ii *.o level? *.a */*.o */*.ii *.d */*.d |