fb64c2e924
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>
22 lines
532 B
Makefile
22 lines
532 B
Makefile
# type either "make linux", "make win32", or "make os2" to compile
|
|
|
|
help:
|
|
@echo You can use this Makefile in the following ways:
|
|
@echo gmake freebsd ......... Make FreeBSD binaries
|
|
@echo make linux ............ Make Linux binaries
|
|
@echo gmake cleanfreebsd .... Remove object files under FreeBSD
|
|
@echo make cleanlinux ....... Remove object files under Linux
|
|
|
|
all:
|
|
mkdir -p bin
|
|
${MAKE} -C src -f Makefile all
|
|
|
|
clean:
|
|
rm -rf bin
|
|
${MAKE} -C src -f Makefile clean
|
|
|
|
freebsd: all
|
|
linux: all
|
|
cleanfreebsd: clean
|
|
cleanlinux: clean
|