-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
37 lines (29 loc) · 999 Bytes
/
Makefile
File metadata and controls
37 lines (29 loc) · 999 Bytes
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
32
33
34
35
36
37
# This a Makefile, an input file for the GNU 'make' program. For you
# command-line and Emacs enthusiasts, this makes it possible to build
# this program with a single command:
# make
# You can also clean up junk files and .class files with
# make clean
# To run style61b (our style enforcer) over your source files, type
# make style
# Finally, you can run any tests you'd care to with
# make check
PACKAGE = jump61
STYLEPROG = style61b
# Targets that don't correspond to files, but are to be treated as commands.
.PHONY: default check clean style
# Flags to pass to Java compilations (include debugging info and report
# "unsafe" operations.)
JFLAGS = -g -Xlint:unchecked
default:
$(MAKE) -C $(PACKAGE) default
check: default
$(MAKE) -C $(PACKAGE) unit
$(MAKE) -C testing check
style:
$(MAKE) -C $(PACKAGE) STYLEPROG=$(STYLEPROG) style
# 'make clean' will clean up stuff you can reconstruct.
clean:
$(RM) *~
$(MAKE) -C $(PACKAGE) clean
$(MAKE) -C testing clean