mirror of
https://github.com/wwarthen/RomWBW.git
synced 2026-02-06 14:11:48 -06:00
37 lines
596 B
Makefile
37 lines
596 B
Makefile
.PHONY: tools source clean clobber diff dist
|
|
|
|
.ONESHELL:
|
|
.SHELLFLAGS = -ce
|
|
|
|
all: tools source
|
|
|
|
tools:
|
|
$(MAKE) --directory Tools
|
|
|
|
source:
|
|
$(MAKE) --directory Source
|
|
|
|
clean:
|
|
$(MAKE) --directory Tools clean
|
|
$(MAKE) --directory Source clean
|
|
$(MAKE) --directory Binary clean
|
|
rm -f make.log
|
|
|
|
clobber: clean
|
|
|
|
diff:
|
|
$(MAKE) --directory Source diff
|
|
|
|
# Convert c code to assembly code
|
|
transpile-c-code:
|
|
@cd Source/HBIOS/ch376-native
|
|
$(MAKE) -j
|
|
|
|
dist:
|
|
$(MAKE) ROM_PLATFORM=dist
|
|
$(MAKE) --directory Tools clean
|
|
$(MAKE) --directory Source clean
|
|
|
|
distlog:
|
|
time -p $(MAKE) dist 2>&1 | tee make.log
|