summaryrefslogtreecommitdiff
path: root/Chalice/Makefile
blob: 2a9f17c1f4354e920a5b3c14979dda5394c813cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Makefile for Chalice tool

SCALAC = scalac
SCALA = scala
CLASS_DIR = bin
SRC_DIR = src

SOURCES = $(SRC_DIR)/*.scala


all: $(CLASS_DIR)/Chalice.class

$(CLASS_DIR)/Chalice.class: $(SOURCES)
	IF NOT EXIST $(CLASS_DIR) MKDIR $(CLASS_DIR)
	$(SCALAC) -d $(CLASS_DIR) -unchecked $(SOURCES)

clean:
	del $(CLASS_DIR)\*.class

RUN_CHALICE = $(SCALA) -cp $(CLASS_DIR) -unchecked Chalice 
test: $(RUN_CHALICE) examples\cell.chalice > examples\results\cell.chalice.expected