Skip to content

Commit

Permalink
Ship original Musashi source archive and patch
Browse files Browse the repository at this point in the history
  • Loading branch information
vinriviere committed Apr 9, 2016
1 parent e656db1 commit 1897e62
Show file tree
Hide file tree
Showing 14 changed files with 123 additions and 18,558 deletions.
3 changes: 3 additions & 0 deletions 3rd-party/musashi-3.3.1/Download.url
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[InternetShortcut]
URL=http://caesar.logiqx.com/html/libs/cpu/musashi.shtml
Modified=E01A7AFC558FC5011A
Binary file added 3rd-party/musashi-3.3.1/musashi331.zip
Binary file not shown.
16 changes: 15 additions & 1 deletion musashi/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,20 @@ OBJS = $(patsubst %.c,%.o,$(CFILES) $(GENCFILES))
.PHONY: all
all: libmusashi.a

.PHONY: unzip
unzip: unzip.stamp
unzip.stamp:
unzip ../3rd-party/musashi-3.3.1/musashi331.zip
touch $@

.PHONY: patch
patch: patch.stamp
patch.stamp: unzip.stamp
patch -p1 <musashi.patch
touch $@

$(FILES): patch.stamp

m68kmake: $(M68KMAKE_SOURCES)
$(NATIVE_CC) $(NATIVE_CFLAGS) $^ -o $@

Expand All @@ -35,7 +49,7 @@ libmusashi.a: $(OBJS)
$(AR) cr $@ $^

clean:
rm -f *.a *.o $(GENFILES) m68kmake
rm -f $(filter-out Makefile musashi.patch, $(wildcard *))

# Dependencies
m68kcpu.c: m68kops.h
Binary file removed musashi/example.zip
Binary file not shown.
114 changes: 0 additions & 114 deletions musashi/history.txt

This file was deleted.

Loading

0 comments on commit 1897e62

Please sign in to comment.