2017-05-17 02:34:15 +00:00
|
|
|
#
|
|
|
|
# Makefile
|
|
|
|
# Apple //GS Build Engine for ORCA
|
|
|
|
#
|
|
|
|
|
|
|
|
include make/head.mk
|
|
|
|
|
|
|
|
# Customize this file to control what kind of project you are working on,
|
|
|
|
# where to find files, etc.
|
|
|
|
|
|
|
|
# The name of your system or binary file to build goes here:
|
|
|
|
PGM=___PACKAGENAME___
|
|
|
|
|
|
|
|
# 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
|
|
|
|
# cda - A classic desk accessory
|
|
|
|
# cdev - A control panel device
|
|
|
|
# nba - A HyperStudio new button action
|
|
|
|
# nda - A new desk accessory
|
|
|
|
# xcmd - A HyperCard XCMD or XCFN
|
|
|
|
#
|
2017-05-17 05:04:32 +00:00
|
|
|
# TARGETTYPE=shell
|
2017-05-17 02:34:15 +00:00
|
|
|
# TARGETTYPE=desktop
|
|
|
|
# TARGETTYPE=cda
|
|
|
|
# TARGETTYPE=cdev
|
|
|
|
# TARGETTYPE=nba
|
|
|
|
# TARGETTYPE=nda
|
|
|
|
# TARGETTYPE=xcmd
|
|
|
|
|
|
|
|
# Add any other directories where you are putting C or assembly source
|
|
|
|
# files to this list:
|
|
|
|
# SRCDIRS+=
|
|
|
|
|
|
|
|
# If you put your main entry point for your project in a file called main.c
|
|
|
|
# Then you don't need to change this value. If you want to call your entry
|
|
|
|
# point something other than main.c, set this variable to point to this file.
|
|
|
|
ROOTCFILE=main.c
|
|
|
|
|
|
|
|
# Add any arguments you want passed to the C compiler to this variable:
|
|
|
|
CFLAGS+=
|
|
|
|
|
|
|
|
# Add any arguments you want passed to the resource compiler to this variable:
|
|
|
|
REZFLAGS+=
|
|
|
|
|
|
|
|
# Add any arguments you want passed to the macro generator to this variable:
|
|
|
|
MACGENFLAGS+=
|
|
|
|
|
|
|
|
# Add any other macro libraries to include in this variable:
|
|
|
|
MACGENMACROS+=
|
|
|
|
|
|
|
|
# Add any arguments you want passed to the assembler to this variable:
|
|
|
|
ASMFLAGS+=
|
|
|
|
|
|
|
|
# Add any arguments you want passed to the linker to this variable:
|
|
|
|
LDFLAGS+=
|
|
|
|
|
2017-08-31 03:35:49 +00:00
|
|
|
# If you want to copy one or more files or directories to the target disk
|
|
|
|
# image, add the root directory to this variable. Any directories under
|
|
|
|
# the source directory which don't exist in the target disk image will be
|
|
|
|
# created. All files will be copied from the source to the target using
|
|
|
|
# the same path from the source.
|
|
|
|
#
|
|
|
|
# For example, if you set COPYDIRS to dir and in your project you have
|
|
|
|
# the following files:
|
|
|
|
# dir/System/mySystemFile
|
|
|
|
# dir/newDir/anotherFile
|
|
|
|
# Then, during the copy phase, mySystemFile will be copied into the System
|
|
|
|
# folder and a folder newDir will be created and anotherFile will be copied
|
|
|
|
# into there.
|
|
|
|
COPYDIRS=
|
|
|
|
|
2017-07-17 04:53:56 +00:00
|
|
|
# By default, the build expects that you have GSplus in the path:
|
|
|
|
# /Applications/GSplus.app/Contents/MacOS/gsplus
|
|
|
|
# If you have it in a different location, specify that here.
|
|
|
|
# GSPLUS=/Applications/GSplus.app/Contents/MacOS/gsplus
|
|
|
|
|
|
|
|
# By default, the build expects that you have GSport in the path:
|
|
|
|
# /Applications/GSport/GSport.app/Contents/MacOS/GSport
|
|
|
|
# If you have it in a different location, specify that here.
|
|
|
|
# GSPORT=/Applications/GSport/GSport.app/Contents/MacOS/GSport
|
|
|
|
|
2017-08-31 03:07:13 +00:00
|
|
|
# Add any rules you want to execute before any compiles or assembly
|
|
|
|
# commands are called here, if any. You can generate .c, .s or .h
|
|
|
|
# files for example. You can generate data files. Whatever you
|
|
|
|
# might need.
|
|
|
|
gen:
|
|
|
|
|
|
|
|
# For any files you generated in the gen target above, you should
|
|
|
|
# add rules in genclean to remove those generated files when you
|
|
|
|
# clean your build.
|
|
|
|
genclean:
|
|
|
|
|
2017-05-17 02:34:15 +00:00
|
|
|
# Do not change anything else below here...
|
|
|
|
include make/tail.mk
|