Subversion Repositories NedoOS

Rev

Rev 857 | Rev 923 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download

# Supported environments:
#   GNU/Linux
#   Windows NT

include ../src/_sdk/common.mk

.PHONY: all clean-aspp clean-dmimg clean-mhmt clean-sjasmplus clean

ifeq ($(OS),Windows_NT)
all:
        @echo Nothing to do on Windows.
else
all: aspp dmimg mhmt sjasmplus
endif

aspp: src/aspp/build/release/linux/aspp | src/aspp
        $(CP) $< $@

src/aspp/build/release/linux/aspp: | src/aspp
        $(MAKE) -w -C $| all

clean-aspp: | src/aspp
        $(MAKE) -w -C $| clean
        $(RM) aspp

dmimg: src/dmimg/dmimg | src/dmimg
        $(CP) $< $@

src/dmimg/dmimg: | src/dmimg
        $(MAKE) -w -C $|

clean-dmimg: | src/dmimg
        $(MAKE) -w -C $| clean
        $(RM) dmimg

mhmt: src/mhmt/linux/mhmt | src/mhmt/linux
        $(CP) $< $@

src/mhmt/linux/mhmt: | src/mhmt/linux
        $(MAKE) -w -C $|

clean-mhmt: | src/mhmt/linux
        $(MAKE) -w -C $| clean
        $(RM) mhmt

sjasmplus: src/sjasmplus/sjasmplus
        $(CP) $< $@

src/sjasmplus/sjasmplus: | src/sjasmplus
        $(MAKE) -w -C $|

clean-sjasmplus: | src/sjasmplus
        $(MAKE) -w -C $| clean
        $(RM) sjasmplus

clean: clean-aspp clean-dmimg clean-mhmt clean-sjasmplus