summaryrefslogtreecommitdiff
path: root/starts/meaning-vm/makefile
diff options
context:
space:
mode:
authorolpc user <olpc@xo-5d-f7-86.localdomain>2019-12-21 08:34:50 -0800
committerolpc user <olpc@xo-5d-f7-86.localdomain>2019-12-21 08:34:50 -0800
commite720dfea4d7b07cbeb5312dbfd6940fd7fa29633 (patch)
tree1db313595ac31d6f647f8fee0c117eb845ff2f09 /starts/meaning-vm/makefile
parent8ab69b673852971103e89eafa15a1dc6385b56ce (diff)
downloadstandingwithresilience-e720dfea4d7b07cbeb5312dbfd6940fd7fa29633.tar.gz
standingwithresilience-e720dfea4d7b07cbeb5312dbfd6940fd7fa29633.zip
=S default assumptions for habit macro
Diffstat (limited to 'starts/meaning-vm/makefile')
-rw-r--r--starts/meaning-vm/makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/starts/meaning-vm/makefile b/starts/meaning-vm/makefile
index 5833e57..243ab85 100644
--- a/starts/meaning-vm/makefile
+++ b/starts/meaning-vm/makefile
@@ -16,10 +16,13 @@ habit-starts/rhythm: habit-starts/rhythm.o liblevel2.a
%.o: %.ii
$(CXX) $(CXXFLAGS) -c $^ -o $@
%.ii: %.cpp
- $(CXX) $(CPPFLAGS) $(CXXFLAGS) -E $^ -o $@
+ $(CXX) $(CPPFLAGS) $(CXXFLAGS) -E $< -o $@
.INTERMEDIATE: $(patsubst %.cpp,%.ii,$(wildcard */*.cpp) $(wildcard *.cpp))
-liblevel%.a: level-%/*.hpp
+level-0/%.ii: $(wildcard level-0/*.hpp)
+level-1/%.ii: $(wildcard level-0/*.hpp) $(wildcard level-1/*.hpp)
+level-2/%.ii: $(wildcard level-0/*.hpp) $(wildcard level-1/*.hpp) $(wildcard level-2/*.hpp)
+
%.a:
ar ru $@ $^
ranlib $@