mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-24 15:16:40 +00:00
16 lines
272 B
Makefile
16 lines
272 B
Makefile
# Common makefile -- loads make rules for each platform
|
|
|
|
BUILDDIR := build
|
|
CMAKE_OPTS := -DCMAKE_BUILD_TYPE=Release
|
|
|
|
.PHONY: all
|
|
|
|
all:
|
|
mkdir -p ${BUILDDIR} && cd ${BUILDDIR} && cmake .. ${CMAKE_OPTS} && $(MAKE)
|
|
|
|
clean:
|
|
rm -rf ${BUILDDIR}
|
|
|
|
distclean:
|
|
rm -rf ${BUILDDIR}
|