mirror of
https://github.com/jeremysrand/Apple2BuildPipeline.git
synced 2024-12-12 11:29:31 +00:00
Make everything recompile automatically if Makefile is changed. Create version 1.4 of the project template
This commit is contained in:
parent
e9f61f4010
commit
11bfe3edf9
@ -21,7 +21,7 @@ Mac OS X Installation:
|
||||
In order to use this infrastructure from Mac OS X, follow these instructions:
|
||||
1. Install [Xcode from Apple](https://itunes.apple.com/us/app/xcode/id497799835?mt=12&uo=4). Xcode is generally the most popular app in the Mac App Store in the "Developer Tools" category. Xcode is free and you do not need to be a registered Apple developer to download and use it, especially if you are building Apple II programs. I have only tested with Xcode 6 which is the latest version. It appears as though project templates are a feature introduced in Xcode 4 so the Apple II project template may work with Xcode 4 or 5 but I have not tested them.
|
||||
2. Install the [cc65 v2.13.3 package](https://github.com/jeremysrand/Apple2BuildPipeline/releases/download/1.0/cc65.2.13.3.pkg).
|
||||
3. Install the [Apple II project template](https://github.com/jeremysrand/Apple2BuildPipeline/releases/download/1.3/AppleXcodeTemplate.pkg).
|
||||
3. Install the [Apple II project template](https://github.com/jeremysrand/Apple2BuildPipeline/releases/download/1.4/AppleXcodeTemplate.pkg).
|
||||
4. Install and setup [Virtual II](http://www.virtualii.com).
|
||||
|
||||
Your First Project:
|
||||
|
@ -102,4 +102,6 @@ execute: $(DISKIMAGE)
|
||||
%.o: %.s
|
||||
$(CL65) $(MACHCONFIG) --cpu $(CPU) $(ASMFLAGS) -l -c -o $@ $<
|
||||
|
||||
$(OBJS): Makefile
|
||||
|
||||
-include $(C_DEPS)
|
||||
|
@ -11,7 +11,7 @@ cp main.c $TMPDIR/'Apple II/Apple II C Project.xctemplate/'
|
||||
cp -R make $TMPDIR/'Apple II/Apple II Asm Project.xctemplate/'
|
||||
cp Makefile $TMPDIR/'Apple II/Apple II Asm Project.xctemplate/'
|
||||
|
||||
pkgbuild --root $TMPDIR --version 1.3 --identifier com.halcyontouch.Apple2Template.pkg --install-location /Library/Developer/Xcode/Templates/ --scripts pkg/scripts/ AppleXcodeTemplate.pkg
|
||||
pkgbuild --root $TMPDIR --version 1.4 --identifier com.halcyontouch.Apple2Template.pkg --install-location /Library/Developer/Xcode/Templates/ --scripts pkg/scripts/ AppleXcodeTemplate.pkg
|
||||
productbuild --distribution pkg/Distribution.xml --resource ./pkg temp.pkg
|
||||
rm AppleXcodeTemplate.pkg
|
||||
productsign --sign "Developer ID Installer" temp.pkg AppleXcodeTemplate.pkg
|
||||
|
Loading…
Reference in New Issue
Block a user