tools: add lab for working on default project
This commit is contained in:
@@ -65,6 +65,9 @@ default/inc_cp437.glsl:
|
||||
default/inc_sentences.glsl: default/sentences.txt
|
||||
$(MAKE) glsl-glyphs
|
||||
|
||||
lab/frag%.glsl:
|
||||
cp lab/frag$*.example.glsl lab/frag$*.glsl
|
||||
|
||||
# ACTIONS
|
||||
|
||||
.PHONY: init
|
||||
@@ -86,6 +89,10 @@ build-no-video: ## build project no video in
|
||||
.PHONY: run
|
||||
run: exec-build ## run project with $RUN_ARGS
|
||||
|
||||
.PHONY: run-lab
|
||||
run-lab: lab/frag1.glsl lab/frag2.glsl lab/frag3.glsl ## run lab for working on default project
|
||||
RUN_ARGS="-nmr -is=480 --hot-reload" $(MAKE) exec-build-lab
|
||||
|
||||
.PHONY: run-%
|
||||
run-%: ## run {project} with $RUN_ARGS
|
||||
$(MAKE) exec-build-$*
|
||||
|
||||
Reference in New Issue
Block a user