TDT4205/exercises/02/vslc/vsl_programs/Makefile

12 lines
217 B
Makefile
Raw Normal View History

2022-02-13 17:40:20 +01:00
VSLC := ../src/vslc
PS2_EXAMPLES := $(patsubst ps2-parser/%.vsl, ps2-parser/%.ast, $(wildcard ps2-parser/*.vsl))
all: $(PS2_EXAMPLES)
echo $(PS2_EXAMPLES)
%.ast: %.vsl
$(VSLC) -t < $^ > $@
clean:
-rm -r */*.ast