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

22 lines
364 B
Makefile
Raw Normal View History

2018-10-16 03:48:47 +00:00
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