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:
committed by
Andrew Pamment
parent
4ed5319798
commit
fb64c2e924
@@ -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
|
||||
|
Reference in New Issue
Block a user