
Make: *** No targets specified and no makefile found. Once downloaded, run the XCode installer program.Īfter the installation process, try typing make again in the Terminal. You will need to have an Apple ID to access this site. Otherwise, you can download XCode from Apple's developer web site. If you have the install disc for your Mac, check to see if it has XCode. XCode should be an optional installation package on your Mac OS X installation disc. If that folder does not exist or the response to the make command is as follows, then your system probably does not have XCode installed: Code: Check the root directory of your startup disk for a folder named Developer. You may already have XCode installed on your Mac. We won't be using XCode to directly program or compile software for the Apple II instead, XCode is needed to compile cc65. XCode, also known as the Developer Tools, is the programming suite of tools for Mac OS X. AppleCommander (A disk image tool in Java).Secondly, I assume that you are using either the Virtual ][ or Sweet16 emulators to test your programs.īefore you can start, you will need to download and configure several free software programs:

By extension, if you know C, then you probably are also familiar with the Terminal and the Unix shell. I will assume that you already know how to program in C. Since we will be programming on a Mac with a target of the Apple II, we are performing what is known as cross-development. Today we are going to learn how to compile a C program that will run under ProDOS 8 on the Apple II using Mac OS X and cc65. Learn how to compile and execute a C program on the Apple II using Mac OS X and cc65Ĭompiling Apple II Programs in C with cc65 and Mac OS X
