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/Makefile
2017-09-25 13:27:22 +10:00

31 lines
481 B
Makefile

OS := $(shell uname -s)
ifeq ($(OS), FreeBSD)
MAKEFILE=Makefile.freebsd
endif
ifeq ($(OS), NetBSD)
MAKEFILE=Makefile.netbsd
endif
ifeq ($(OS), Linux)
MAKEFILE=Makefile.linux
endif
ifeq ($(OS), Darwin)
MAKEFILE=Makefile.osx
endif
all: magicka
.PHONY: magicka www clean cleanwww
magicka:
cd src && $(MAKE) -f $(MAKEFILE)
www:
cd src && $(MAKE) -f $(MAKEFILE).WWW
clean:
cd src && $(MAKE) -f $(MAKEFILE) clean
cleanwww:
cd src && $(MAKE) -f $(MAKEFILE).WWW clean