started migration stack->tree

This commit is contained in:
2021-01-21 19:09:41 +01:00
parent 0b6c839b4d
commit 9f14b5e076
8 changed files with 649 additions and 159 deletions

View File

@@ -4,11 +4,11 @@ CFLAGS := -w -g -pg -DDEBUG
TIME := \time -f "\ttime: %E real, %U user, %S sys\n\tcontext-switch:\t%c+%w, page-faults: %F+%R\n"
export PATH := .:$(PATH)
TARGETS=lceb tree oper stack eval
TARGETS=lceb tree oper stack eval best
INCLUDES=lceb.h
OBJS=$(TARGETS:=.o)
.PHONY: all clean stack eval
.PHONY: all clean stack eval best
all: $(TARGETS)
@@ -19,6 +19,8 @@ tree: tree.c lceb.h
oper: oper.c lceb.h
$(CC) $(CFLAGS) -DSTANDALONE -o $@ $?
eval.o stack.o best.o: lceb.h
ex2: ex2-c
@$(TIME) ex2-c < $(INPUT)