breakhack/Makefile

33 lines
518 B
Makefile
Raw Normal View History

all:
2019-04-06 12:27:42 +02:00
@ninja -C _build/debug
.PHONY: all
2018-10-23 11:01:35 +02:00
release:
2019-04-06 12:27:42 +02:00
@ninja -C _build/release
2018-10-23 11:01:35 +02:00
.PHONY: release
clean:
2019-04-06 12:27:42 +02:00
@ninja clean -C _build/debug
@ninja clean -C _build/release
.PHONY: clean
test:
2019-04-06 12:27:42 +02:00
@ninja test -C _build/debug
.PHONY: test
2018-01-31 09:15:33 +01:00
run: $(all)
2018-10-21 07:36:47 +02:00
@LD_LIBRARY_PATH=$LD_LIBRARY_PATH:./ ./_build/debug/breakhack
2018-01-31 09:15:33 +01:00
.PHONY: run
2018-03-12 14:55:09 +01:00
2018-10-24 22:18:56 +02:00
playtest: $(all)
@LD_LIBRARY_PATH=$LD_LIBRARY_PATH:./ ./_build/release/breakhack
.PHONY: run
2018-03-12 14:55:09 +01:00
lint:
2019-04-06 12:27:42 +02:00
@ninja lint -C _build/debug
2018-03-12 14:55:09 +01:00
.PHONY: lint
package:
2019-04-06 12:27:42 +02:00
@ninja package -C _build/release
.PHONY: package