-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile
More file actions
41 lines (35 loc) · 926 Bytes
/
makefile
File metadata and controls
41 lines (35 loc) · 926 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
38
39
40
41
# This is not intended to compile anything, but easy for lanuching the application
PROGRAM = java -cp src Main
SEPARATE = & disown
# Launch the app with no arguments (shows current time)
now:
@$(PROGRAM) $(SEPARATE)
# New Year countdown (to Jan 1, 00:00:00 next year)
newyear:
@$(PROGRAM) -dt $$(($$(date +%Y)+1))-01-01 -t 00:00:00 $(SEPARATE)
# Midnight countdown (to next midnight)
midnight:
@$(PROGRAM) -n $(SEPARATE)
# Minute countdowns (relative)
timer1:
@$(PROGRAM) -r -m 1 $(SEPARATE)
timer2:
@$(PROGRAM) -r -m 2 $(SEPARATE)
timer3:
@$(PROGRAM) -r -m 3 $(SEPARATE)
timer5:
@$(PROGRAM) -r -m 5 $(SEPARATE)
timer10:
@$(PROGRAM) -r -m 10 $(SEPARATE)
timer20:
@$(PROGRAM) -r -m 20 $(SEPARATE)
timer25:
@$(PROGRAM) -r -m 25 $(SEPARATE)
timer30:
@$(PROGRAM) -r -m 30 $(SEPARATE)
timer45:
@$(PROGRAM) -r -m 45 $(SEPARATE)
timer60:
@$(PROGRAM) -r -m 60 $(SEPARATE)
timer90:
@$(PROGRAM) -r -m 90 $(SEPARATE)