From 972548bb5c09424ad305c0039e6b0530ea478ca7 Mon Sep 17 00:00:00 2001 From: user Date: Fri, 6 Dec 2019 18:23:54 -0800 Subject: used make funcs to put level0 in level1 --- starts/meaning-vm/makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/starts/meaning-vm/makefile b/starts/meaning-vm/makefile index e2e175d..dba9eac 100644 --- a/starts/meaning-vm/makefile +++ b/starts/meaning-vm/makefile @@ -3,11 +3,11 @@ LINK.o=$(LINK.cc) all: level0 level1 habit-starts/rhythm level0: level0.o liblevel0.a -liblevel0.a: level-0/memorystore.o level-0/concept.o level-0/ref.o -level1: level1.o liblevel1.a liblevel0.a -liblevel1.a: level-1/ref.o level-1/sugar.o level-1/concepts.o level-1/funcs.o +liblevel0.a: $(patsubst %.cpp,%.o,$(wildcard level-0/*.cpp)) +level1: level1.o liblevel1.a +liblevel1.a: $(patsubst %.cpp,%.o,$(wildcard level-0/*.cpp)) $(patsubst %.cpp,%.o,$(wildcard level-1/*.cpp)) -habit-starts/rhythm: habit-starts/rhythm.o liblevel1.a liblevel0.a +habit-starts/rhythm: habit-starts/rhythm.o liblevel1.a liblevel%.a: level-%/*.hpp %.a: -- cgit v1.2.3