2022-02-21 12:44:43 +01:00
|
|
|
VSLC := ../src/vslc
|
|
|
|
|
|
|
|
PS2_EXAMPLES := $(patsubst ps2-parser/%.vsl, ps2-parser/%.ast, $(wildcard ps2-parser/*.vsl))
|
|
|
|
PS3_EXAMPLES := $(patsubst ps3-simplify/%.vsl, ps3-simplify/%.ast, $(wildcard ps3-simplify/*.vsl))
|
|
|
|
|
2022-02-27 16:41:57 +01:00
|
|
|
all: $(PS2_EXAMPLES) $(PS3_EXAMPLES)
|
2022-02-21 12:44:43 +01:00
|
|
|
ps2: $(PS2_EXAMPLES)
|
|
|
|
ps3: $(PS3_EXAMPLES)
|
|
|
|
|
|
|
|
%.ast: %.vsl
|
2022-02-27 16:41:57 +01:00
|
|
|
$(VSLC) -T -t < $^ > $@
|
2022-02-21 12:44:43 +01:00
|
|
|
|
|
|
|
clean:
|
|
|
|
-rm -r */*.ast
|