Add Makefiles to build binaries and docs

This commit is contained in:
2025-06-21 21:17:27 +03:00
parent fc774fd0ff
commit 7662c3e32b
8 changed files with 404 additions and 1 deletions

24
Makefile Normal file
View File

@@ -0,0 +1,24 @@
# Determine OS
OS = $(shell uname)
MAKEFILE = gnu
ifeq ($(OS), Darwin)
MAKEFILE = osx
endif
ifeq ($(OS), windows32)
MAKEFILE = mingw
endif
# Targets
default:
$(MAKE) -f Makefile.$(MAKEFILE)
all:
$(MAKE) -f Makefile.$(MAKEFILE) all
dist:
$(MAKE) -f Makefile.$(MAKEFILE) dist
clean:
$(MAKE) -f Makefile.$(MAKEFILE) clean