magimail/src/Makefile: normalize targets

There were separate `freebsd`, `linux`, `cleanlinux`
and `cleanfreebsd` targets.  But these just did the
same thing, so simplify them to just have an `all`
and a `clean` target: this means we have less to plumb
through from the top-level Magicka GNUmakefile.

Signed-off-by: Dan Cross <patchdev@fat-dragon.org>
This commit is contained in:
Dan Cross
2018-10-09 15:55:11 +00:00
committed by Andrew Pamment
parent 4ed5319798
commit fb64c2e924
2 changed files with 16 additions and 26 deletions

View File

@@ -7,19 +7,15 @@ help:
@echo gmake cleanfreebsd .... Remove object files under FreeBSD
@echo make cleanlinux ....... Remove object files under Linux
freebsd :
all:
mkdir -p bin
gmake -C src -f Makefile freebsd
${MAKE} -C src -f Makefile all
linux :
mkdir -p bin
make -C src -f Makefile linux
cleanfreebsd :
clean:
rm -rf bin
gmake -C src -f Makefile cleanfreebsd
cleanlinux :
rm -rf bin
make -C src -f Makefile cleanlinux
${MAKE} -C src -f Makefile clean
freebsd: all
linux: all
cleanfreebsd: clean
cleanlinux: clean