Commit 224b1d00 authored by Ben Avison's avatar Ben Avison
Browse files

Rewrite makefile to use shared makefiles

Also strip dependencies in `!MkClean` now that we create some, and set up
`.gitignore` appropriately.

Requires RiscOS/BuildSys!32
parent fda66eaf
......@@ -14,3 +14,4 @@
|
Dir <Obey$Dir>
amu_machine clean
stripdepnd
/Squish,ffb
/crunched/
/Makefile.d
/o/
/objs/
......@@ -13,52 +13,11 @@
# limitations under the License.
#
# Makefile for Squish
#
#
# Program specific options:
#
COMPONENT = Squish
MSGVERSION = ${AWK} -f Build:AwkVers
include StdTools
SQFLAGS = -nolist
FILES =\
squished.${COMPONENT}
#
# Generic build rules:
#
all: ${FILES}
@${ECHO} ${COMPONENT}: all build complete
install: ${FILES}
${CP} squished.${COMPONENT} ${INSTDIR}.${COMPONENT} ${CPFLAGS}
@${ECHO} ${COMPONENT}: installed
clean:
${XWIPE} squished ${WFLAGS}
${XWIPE} crunched ${WFLAGS}
${XWIPE} n ${WFLAGS}
@${ECHO} ${COMPONENT}: cleaned
#
# Static dependencies:
#
squished.${COMPONENT}: crunched.${COMPONENT} bas.Keep
${MKDIR} squished
${SQUISH} ${SQFLAGS} -keep bas.Keep -from crunched.${COMPONENT} -to $@
crunched.${COMPONENT}: n.${COMPONENT}
${MKDIR} crunched
crunch.${COMPONENT}; BASIC
COMPONENT ?= Squish
SQUISHFLAGS = -keep Keep
SOURCES_TO_SYMLINK = Keep
n.${COMPONENT}: bas.${COMPONENT}
${MKDIR} n
${NUMBER} bas.${COMPONENT} $@
include BasicApp
#---------------------------------------------------------------------------
# Dynamic dependencies:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment