From e720dfea4d7b07cbeb5312dbfd6940fd7fa29633 Mon Sep 17 00:00:00 2001 From: olpc user Date: Sat, 21 Dec 2019 08:34:50 -0800 Subject: =S default assumptions for habit macro --- starts/meaning-vm/makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'starts/meaning-vm/makefile') 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 $@ -- cgit v1.2.3