-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rearranged some things, added Flamewing mdcomp/mdtools
- Loading branch information
Showing
10 changed files
with
131 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
MARSBIN = $(MARSDEV)/bin | ||
MARSINC = $(MARSDEV)/include | ||
MARSLIB = $(MARSDEV)/lib | ||
|
||
all: clean $(MARSINC) $(MARSLIB) | ||
# mdtools depends on mdcomp, install that first | ||
git clone https://github.com/flamewing/mdcomp | ||
cd mdcomp && ./autogen.sh "--prefix=$(MARSDEV)" \ | ||
&& make install | ||
git clone https://github.com/flamewing/mdtools | ||
cd mdtools && ./autogen.sh "--prefix=$(MARSDEV)" \ | ||
"CPPFLAGS=-I$(MARSINC) -L$(MARSLIB)" "LDFLAGS=-L$(MARSLIB)" \ | ||
&& make install | ||
|
||
$(MARSBIN): | ||
mkdir -p $(MARSBIN) | ||
|
||
$(MARSINC): | ||
mkdir -p $(MARSINC) | ||
|
||
$(MARSLIB): | ||
mkdir -p $(MARSLIB) | ||
|
||
clean: | ||
rm -rf mdtools | ||
rm -rf mdcomp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
MARSBIN = $(MARSDEV)/bin | ||
|
||
MDTILER = $(MARSBIN)/mdtiler | ||
SLZ = $(MARSBIN)/slz | ||
UFTC = $(MARSBIN)/uftc | ||
MML2ESF = $(MARSBIN)/mml2esf | ||
PCM2EWF = $(MARSBIN)/pcm2ewf | ||
TFI2EIF = $(MARSBIN)/tfi2eif | ||
|
||
.PHONY: all clean | ||
|
||
all: $(MDTILER) $(SLZ) $(UFTC) $(MML2ESF) $(PCM2EWF) $(TFI2EIF) | ||
|
||
mdtools: | ||
git clone https://github.com/sikthehedgehog/mdtools | ||
|
||
$(MDTILER): mdtools $(MARSBIN) | ||
make -C mdtools/mdtiler/tool | ||
cp -f mdtools/mdtiler/tool/mdtiler $(MDTILER) | ||
|
||
$(SLZ): mdtools $(MARSBIN) | ||
make -C mdtools/slz/tool | ||
cp -f mdtools/slz/tool/slz $(SLZ) | ||
|
||
$(UFTC): mdtools $(MARSBIN) | ||
make -C mdtools/uftc/tool | ||
cp -f mdtools/uftc/tool/uftc $(UFTC) | ||
|
||
$(MML2ESF): mdtools $(MARSBIN) | ||
make -C mdtools/mml2esf/tool | ||
cp -f mdtools/mml2esf/tool/mml2esf $(MML2ESF) | ||
|
||
$(PCM2EWF): mdtools $(MARSBIN) | ||
make -C mdtools/pcm2ewf/tool | ||
cp -f mdtools/pcm2ewf/tool/pcm2ewf $(PCM2EWF) | ||
|
||
$(TFI2EIF): mdtools $(MARSBIN) | ||
make -C mdtools/tfi2eif/tool | ||
cp -f mdtools/tfi2eif/tool/tfi2eif $(TFI2EIF) | ||
|
||
$(MARSBIN): | ||
mkdir -p $(MARSBIN) | ||
|
||
clean: | ||
rm -rf mdtools |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
MARSBIN = $(MARSDEV)/bin | ||
|
||
SJASM = $(MARSBIN)/sjasm | ||
Z80ASM = $(MARSBIN)/z80asm | ||
|
||
.PHONY: all clean | ||
|
||
all: $(SJASM) | ||
#$(Z80ASM) | ||
|
||
$(SJASM): $(MARSBIN) | ||
rm -rf sjasm | ||
git clone https://github.com/konamiman/sjasm --branch v0.39 --single-branch | ||
# Are you fucking kidding me | ||
mv sjasm/Sjasm/Sjasm.cpp sjasm/Sjasm/sjasm.cpp | ||
cd sjasm/Sjasm && make -f ../Makefile | ||
cp -f sjasm/Sjasm/sjasm $(SJASM) | ||
|
||
$(Z80ASM): $(MARSBIN) | ||
rm -rf z80asm | ||
git clone https://git.savannah.nongnu.org/git/z80asm.git | ||
cd z80asm && autoreconf -f -i && ./configure && make | ||
cp -f z80asm/src/z80asm $(Z80ASM) | ||
|
||
$(MARSBIN): | ||
mkdir -p $(MARSBIN) | ||
|
||
clean: | ||
rm -rf sjasm z80asm |