-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
31 lines (26 loc) · 816 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#----------------------------------------------------------------------
# File Makefile
# Written by Chris Frisz
#
# Created 10 Jan 2012
# Last modified 10 Jan 2012
#
# This Makefile is intended for use with CSCI-P423 and runs the the
# load_and_test.ss file. It may be extended to do other things as you
# may need.
#----------------------------------------------------------------------
#-- Variables --#
#SC=scheme
SC=scheme
TEST_FILE=load_and_test.ss
RUNTIME=runtime
#-- Rules --#
# The main point of this file is to run the tests
all : test
# Run the testing on the compiler
test : $(TEST_FILE)
$(SC) $(TEST_FILE)
copygc :
gcc t.s $(RUNTIME)/copygc.c $(RUNTIME)/runtime.c $(RUNTIME)/printer.c $(RUNTIME)/metrics.c
cheney :
gcc t.s $(RUNTIME)/cheney.c $(RUNTIME)/runtime.c $(RUNTIME)/printer.c