This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
magicka/GNUmakefile
2018-10-16 13:48:47 +10:00

22 lines
364 B
Makefile

ifdef MUSL
OS=linux-musl
else
OS=$(shell uname -s | tr '[A-Z]' '[a-z]' | sed 's/darwin/osx/')
endif
all: magicka
.PHONY: magicka www clean cleanwww
magicka:
cd src && $(MAKE) -f GNUmakefile.$(OS)
www:
cd src && $(MAKE) -f GNUmakefile.$(OS) www
clean:
cd src && $(MAKE) -f GNUmakefile.$(OS) clean
cleanwww:
cd src && $(MAKE) -f GNUmakefile.$(OS) clean