home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dream 44
/
Amiga_Dream_44.iso
/
RiscPc
/
programmation
/
scm4e2.arc
/
!Scm
/
makefile
< prev
next >
Wrap
Makefile
|
1995-08-03
|
2KB
|
66 lines
# acorn makefile for use with amu
# Project: scm4e1
# SCM makefile for the UnixLib library by Huw Rogers.
# make ulibpath point to where you keep the unixlib o.unixlib
# file - should be obvious.
# From: ams@csd.abdn.ac.uk
# al slater 6/94
# Toolflags:
CCflags1 = -c -depend !Depend -JUnix: -IUnix: -pcc
CCflags2 = -DARM_ULIB -DSVR3 -DFLOATS -Dunix -DCCLO
CCflags3 = $(CCflags1) $(CCflags2) -DARRAYS -DINITS=init_arcext(),init_sc2(),init_rgx(),init_gsubr(),init_record(),init_ioext()
CCflags = $(CCflags3) -DBIGNUMS -DTICKS
ulibpath = Unix:o.unixlib
Linkflags = -o $@
Squeezeflags = -o $@
# Final targets:
@.scm: @.o.eval @.o.repl @.o.scl @.o.scm @.o.subr @.o.sys @.o.gsubr @.o.record \
@.o.time @.o.unif @.o.archi @.o.ramap @.o.sc2 @.o.rgx @.o.ioext \
@.o.regex $(ulibpath)
link $(linkflags) @.o.eval @.o.repl @.o.scl @.o.scm @.o.subr @.o.gsubr @.o.record \
@.o.sys @.o.time @.o.unif @.o.archi @.o.ramap @.o.sc2 @.o.rgx @.o.ioext \
@.o.regex $(ulibpath)
squeeze @.scm
# User-editable dependencies:
# Static dependencies:
@.o.eval: @.c.eval
cc $(ccflags) -o @.o.eval @.c.eval
@.o.ramap: @.c.ramap
cc $(ccflags) -o @.o.ramap @.c.ramap
@.o.repl: @.c.repl
cc $(ccflags) -o @.o.repl @.c.repl
@.o.sc2: @.c.sc2
cc $(ccflags) -o @.o.sc2 @.c.sc2
@.o.scl: @.c.scl
cc $(ccflags) -o @.o.scl @.c.scl
@.o.scm: @.c.scm
cc $(ccflags) -o @.o.scm @.c.scm
@.o.subr: @.c.subr
cc $(ccflags) -o @.o.subr @.c.subr
@.o.sys: @.c.sys
cc $(ccflags) -o @.o.sys @.c.sys
@.o.time: @.c.time
cc $(ccflags) -o @.o.time @.c.time
@.o.unif: @.c.unif
cc $(ccflags) -o @.o.unif @.c.unif
@.o.archi: @.c.archi
cc $(ccflags) -o @.o.archi @.c.archi
@.o.rgx: @.c.rgx
cc $(ccflags) -o @.o.rgx @.c.rgx
@.o.gsubr: @.c.gsubr
cc $(ccflags) -o @.o.gsubr @.c.gsubr
@.o.record: @.c.record
cc $(ccflags) -o @.o.record @.c.record
@.o.frotz: @.c.frotz
cc $(ccflags) -o @.o.frotz @.c.frotz
@.o.ioext: @.c.ioext
cc $(ccflags) -o @.o.ioext @.c.ioext
# Dynamic dependencies: