build: make 'run' target invoke the built binary
ober
b30d10b39efc3adc7dac88f15160900b79bc8336
--- a/Makefile +++ b/Makefile @@ -20,9 +20,9 @@ binary: build: binary -# Run from source without building the binary. -run: - $(JERBUILD) exec $(LIBDIRS) main.ss +# Build then run the binary (e.g. make run ARGS="s/a/b/"). +run: binary + ./$(JSED_BIN) $(ARGS) clean: find lib \( -name '*.so' -o -name '*.wpo' \) -delete 2>/dev/null || true