-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile
More file actions
executable file
·26 lines (25 loc) · 1.18 KB
/
Copy pathmakefile
File metadata and controls
executable file
·26 lines (25 loc) · 1.18 KB
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
all:
rm nifur || true
gcc -o nifur main.c printers.c
get-ip: all
SERVER_NAME="she-a.eu" REQUEST_URI="/get-ip" REMOTE_ADDR="127.0.0.1" ./nifur
test: all
SERVER_NAME="she-a.eu" REQUEST_URI="/path/subpath" REMOTE_ADDR="127.0.0.1" ./nifur
test-basic: all
SERVER_NAME="she-a.eu" REQUEST_URI="/" REMOTE_ADDR="127.0.0.1" ./nifur
test-simple: all
SERVER_NAME="she-a.eu" REQUEST_URI="/simpl" REMOTE_ADDR="127.0.0.1" ./nifur
test-about: all
REMOTE_ADDR="local" SERVER_NAME="domain.exemple" REQUEST_URI="/nifur/about" ./nifur
test-about-simple: all
REMOTE_ADDR="local" SERVER_NAME="domain.exemple" REQUEST_URI="/nifur/about/simple" ./nifur
test-index: all
REMOTE_ADDR="local" SERVER_NAME="domain.exemple" REQUEST_URI="/nifur/index" ./nifur
test-index-simple: all
REMOTE_ADDR="local" SERVER_NAME="domain.exemple" REQUEST_URI="/nifur/index/simple" ./nifur
test-debug: all
SERVER_NAME="subdomain.example.com" REQUEST_URI="/debug" REMOTE_ADDR="127.0.0.1" ./nifur
test-pnf: all
SERVER_NAME="subdomain.example.com" REQUEST_URI="/some-unexistent-thing" REMOTE_ADDR="127.0.0.1" ./nifur
test-pnf-simple: all
SERVER_NAME="subdomain.example.com" REQUEST_URI="/s/some-unexistent-thing" REMOTE_ADDR="127.0.0.1" ./nifur