-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
24 lines (21 loc) · 726 Bytes
/
Makefile
File metadata and controls
24 lines (21 loc) · 726 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
# Makefile
# A very simple makefile for compiling a Java program. This file compiles
# the sim_cache.java file, and relies on javac to compile all its
# dependencies automatically.
#
# If you require any special options to be passed to javac, modify the
# CFLAGS variable. You may want to comment out the DEBUG option before
# running your simulations.
JAVAC = javac
#DEBUG = -g
CFLAGS = $(DEBUG) -deprecation
#Edited to make all required classes first
sim_cache:
$(JAVAC) $(CFLAGS) Block.java
$(JAVAC) $(CFLAGS) PStream.java
$(JAVAC) $(CFLAGS) Set.java
$(JAVAC) $(CFLAGS) Cache.java
$(JAVAC) $(CFLAGS) sim_cache.java
# type "make clean" to remove all your .class files
clean:
-rm *.class