More GNUmakefile cleanups.
With the normalization of magimail's Makefile, we can further simplify this logic. Integrate the WWW logic into GNUmakefile.common. Remove the custom `Makefile.sunos` files: just use a conditional in the Makefile. Signed-off-by: Dan Cross <patchdev@fat-dragon.org>
This commit is contained in:
committed by
Andrew Pamment
parent
264b5688b2
commit
187cf02903
@@ -1,6 +1,6 @@
|
||||
OS := $(shell uname -s | tr '[A-Z]' '[a-z]' | sed 's/darwin/osx/')
|
||||
OS:= $(shell uname -s | tr '[A-Z]' '[a-z]' | sed 's/darwin/osx/')
|
||||
|
||||
all: magicka
|
||||
all: magicka
|
||||
|
||||
.PHONY: magicka www clean cleanwww
|
||||
|
||||
@@ -8,10 +8,10 @@ magicka:
|
||||
cd src && $(MAKE) -f GNUmakefile.$(OS)
|
||||
|
||||
www:
|
||||
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).WWW clean
|
||||
cd src && $(MAKE) -f GNUmakefile.$(OS) clean
|
||||
|
Reference in New Issue
Block a user