summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMax Christian Pohle2021-11-25 14:37:41 +0100
committerMax Christian Pohle2021-11-25 14:37:41 +0100
commit0ac71ac773d3740b380f3cb48ab970cf1fd364be (patch)
treef2444a3e5883c533cac38dec757546364154c973 /Makefile
parentdb864e290ba1ec4acd74371b150e7770585ef284 (diff)
downloadohmycgi-0ac71ac773d3740b380f3cb48ab970cf1fd364be.tar.bz2
ohmycgi-0ac71ac773d3740b380f3cb48ab970cf1fd364be.zip
Daemonize and allow the build of .debug and .release versions
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 2458ed9..14c362c 100644
--- a/Makefile
+++ b/Makefile
@@ -12,13 +12,13 @@ CFLAGS += -I/usr/local/include
12FILES := cgi.c http_parser.c 12FILES := cgi.c http_parser.c
13 13
14test: main 14test: main
15 ./main 15 ./main.${BUILD}
16 16
17main: clean 17main: clean
18 $(CC) $(CFLAGS) -o $@ $(FILES) main.c $(LIBS) 18 $(CC) $(CFLAGS) -o $@.${BUILD} $(FILES) main.c $(LIBS)
19 19
20clean: 20clean:
21 rm -f ./main 21 rm -f ./main.${BUILD}
22 22
23# %: 23# %:
24# $(CC) $(CFLAGS) -o $@ $(FILES) main.c $(LIBS) 24# $(CC) $(CFLAGS) -o $@ $(FILES) main.c $(LIBS)
..