Skip to content

Commit 5ed622d

Browse files
committed
add Makefile
1 parent 4a7c1ed commit 5ed622d

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11

22
*.class
3+
docs/*

Makefile

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
JDOC = javadoc
2+
JFLAGS = -Xlint:deprecation
3+
JC = javac
4+
DOCTITLE = 'SS Proxy Cache API Specification'
5+
6+
.PHONY: *.java default clean docs
7+
8+
default: *.class
9+
10+
%.class: %.java
11+
$(JC) $(JFLAGS) $<
12+
13+
clean:
14+
$(RM) *.class
15+
16+
docs: docs/*
17+
18+
docs/*: *.java
19+
$(JDOC) $^ -d docs \
20+
-windowtitle $(DOCTITLE) \
21+
-doctitle $(DOCTITLE)
22+
23+
docs-clean:
24+
$(RM) docs/*
25+
26+
run:
27+
java ProxyCache 8031

0 commit comments

Comments
 (0)