-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
37 lines (26 loc) · 855 Bytes
/
Makefile
File metadata and controls
37 lines (26 loc) · 855 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
# +------------------+------------------------------------------------
# | Standard targets |
# +------------------+
default: jar
.PHONY: clean
clean:
cd src; make clean
cd tests; make clean
install: jar
cp *.jar /home/rebelsky/Web/Glimmer/Ushahidi/code
# +----------------+--------------------------------------------------
# | Custom targets |
# +----------------+
jar: simple-ushahidi-api.jar
# +------------------+------------------------------------------------
# | Individual Files |
# +------------------+
simple-ushahidi-api.jar: FORCE
cd src; make # Make sure all the class files are generated
jar cvf $@ -C src edu # Build the jar file
json.jar: FORCE
jar cvf $@ -C src org # Build the jar file
# +---------------+---------------------------------------------------
# | Miscellaneous |
# +---------------+
FORCE: