diff --git a/md2teach.xcodeproj/project.pbxproj b/md2teach.xcodeproj/project.pbxproj index 5b54e7d..6ca562b 100644 --- a/md2teach.xcodeproj/project.pbxproj +++ b/md2teach.xcodeproj/project.pbxproj @@ -59,6 +59,7 @@ 9D8125E32634AC4A002F05F5 /* translate.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; path = translate.c; sourceTree = ""; }; 9D8125F12634B4D4002F05F5 /* style.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = style.h; sourceTree = ""; }; 9D8125F22634B4D4002F05F5 /* style.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; path = style.c; sourceTree = ""; }; + 9DBA97F82682E9EA001C2142 /* Read.Me.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = Read.Me.md; sourceTree = ""; }; 9DDFC7B026269D23006D6E71 /* LICENSE */ = {isa = PBXFileReference; lastKnownFileType = text; path = LICENSE; sourceTree = ""; }; 9DDFC7B126269D3F006D6E71 /* README.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = ""; }; 9DDFC7B42627E081006D6E71 /* test.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = test.md; sourceTree = ""; }; @@ -115,6 +116,7 @@ 9D8125F22634B4D4002F05F5 /* style.c */, 9D6532EE2626240800105D50 /* Makefile */, 9DDFC7B42627E081006D6E71 /* test.md */, + 9DBA97F82682E9EA001C2142 /* Read.Me.md */, 9D6532F02626240800105D50 /* make */, 9D6532FB2626240800105D50 /* Supporting Files */, ); diff --git a/md2teach/Makefile b/md2teach/Makefile index 8002e39..9ea7bc7 100644 --- a/md2teach/Makefile +++ b/md2teach/Makefile @@ -11,6 +11,8 @@ include make/head.mk # The name of your system or binary file to build goes here: PGM=md2teach +# DEBUGBUILD=1 + # Set the target type you would like to build. The options are: # shell - A shell command for ORCA, GNO or other GS shell # desktop - A full desktop application diff --git a/md2teach/Read.Me.md b/md2teach/Read.Me.md new file mode 100644 index 0000000..fe67077 --- /dev/null +++ b/md2teach/Read.Me.md @@ -0,0 +1,2 @@ +# md2teach + diff --git a/md2teach/make/tail.mk b/md2teach/make/tail.mk index 51d9e61..1920a0f 100644 --- a/md2teach/make/tail.mk +++ b/md2teach/make/tail.mk @@ -196,8 +196,13 @@ executeGUI: all make/launchEmulator "$(DISKIMAGE)" "$(DESTBOOTIMAGE)" executeShell: all + $(ORCA) $(TARGETDIR)/$(PGM) Read.Me.md $(TARGETDIR)/Read.Me +ifeq ($(DEBUGBUILD),1) $(ORCA) --mem $(TARGETDIR)/$(PGM) -d test.md $(TARGETDIR)/test.txt - make/createDiskImage "$(DISKIMAGE)" $(DESTBOOTIMAGE) "$(TARGETDIR)/md2teach" "$(TARGETDIR)/test.txt" + make/createDiskImage "$(DISKIMAGE)" $(DESTBOOTIMAGE) "$(TARGETDIR)/$(PGM)" "$(TARGETDIR)/Read.Me" "$(TARGETDIR)/test.txt" +else + make/createDiskImage "$(DISKIMAGE)" $(DESTBOOTIMAGE) "$(TARGETDIR)/$(PGM)" "$(TARGETDIR)/Read.Me" +endif make/launchEmulator "$(DISKIMAGE)" "$(DESTBOOTIMAGE)" $(OBJDIR)/%.a: %.c