Browse Source

More Make and Build Tweaks

pull/246/head
Wayne Warthen 5 years ago
parent
commit
2809ba5b6d
  1. 1
      Makefile
  2. 6
      Source/HBIOS/Build.sh
  3. 1
      Tools/Makefile.inc

1
Makefile

@ -1,5 +1,4 @@
all: all:
echo SHELL=$(SHELL)
$(MAKE) --directory Tools/unix $(MAKE) --directory Tools/unix
$(MAKE) --directory Source $(MAKE) --directory Source

6
Source/HBIOS/Build.sh

@ -59,6 +59,9 @@ fi
outdir=../../Binary outdir=../../Binary
# Help make realize that build.inc has changed
sleep 1
cat <<- EOF > build.inc cat <<- EOF > build.inc
; RomWBW Configured for $platform $config $timestamp ; RomWBW Configured for $platform $config $timestamp
; ;
@ -98,6 +101,3 @@ else
cat hbios_rom.bin osimg.bin osimg1.bin osimg2.bin >$romname.upd cat hbios_rom.bin osimg.bin osimg1.bin osimg2.bin >$romname.upd
cat hbios_app.bin osimg_small.bin > $romname.com cat hbios_app.bin osimg_small.bin > $romname.com
fi fi
# make sure everything is rebuilt on subsequent iterations
rm -f hbios_*.bin

1
Tools/Makefile.inc

@ -123,7 +123,6 @@ endif
# first target is default # first target is default
# #
all:: $(OBJECTS) all:: $(OBJECTS)
echo SHELL=$(SHELL)
@for dir in $(SUBDIRS) ; do \ @for dir in $(SUBDIRS) ; do \
$(MAKE) --directory $$dir all ; \ $(MAKE) --directory $$dir all ; \
done done

Loading…
Cancel
Save