mirror of
https://github.com/joyieldInc/predixy.git
synced 2026-02-05 01:42:24 +08:00
29 lines
414 B
Makefile
29 lines
414 B
Makefile
|
|
.PHONY : default debug clean test lint cppcheck
|
|
|
|
make = make
|
|
plt = $(shell uname)
|
|
ifeq ($(plt), FreeBSD)
|
|
make = gmake
|
|
else ifeq ($(plt), OpenBSD)
|
|
make = gmake
|
|
endif
|
|
|
|
default:
|
|
@$(make) -C src -f Makefile
|
|
|
|
debug:
|
|
@$(make) -C src -f Makefile debug
|
|
|
|
clean:
|
|
@$(make) -C src -f Makefile clean
|
|
|
|
test: default
|
|
@./test/run.sh
|
|
|
|
lint:
|
|
@$(make) -C src -f Makefile lint
|
|
|
|
cppcheck:
|
|
@$(make) -C src -f Makefile cppcheck
|