mirror of
https://github.com/joyieldInc/predixy.git
synced 2026-02-05 01:42:24 +08:00
23 lines
310 B
Makefile
23 lines
310 B
Makefile
|
|
.PHONY : default debug clean test
|
|
|
|
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
|