Megatest

Artifact [9f3da22ea1]
Login

Artifact 9f3da22ea1bddfff3edc41d4e7e78cc8b9af3415:


CSCOPTS=
SRCFILES=mod1.scm mod2.scm all.scm
MOFILES = $(SRCFILES:%.scm=%.o)
MOIMPFILES = $(SRCFILES:%.scm=%.import.o)

%.import.o : %.import.scm
	csc $(CSCOPTS) -unit $*.import -c $*.import.scm -o $*.import.o

%.o : %.scm
	csc $(CSCOPTS) -J -c $< -o $*.o

mod3.o : mod1.o mod2.o all.o
mod3 : mod3.scm $(MOFILES)
	csc $(CSCOPTS) $(MOFILES) mod3.scm -o mod3