diff options
author | Max Christian Pohle | 2021-11-25 14:37:41 +0100 |
---|---|---|
committer | Max Christian Pohle | 2021-11-25 14:37:41 +0100 |
commit | 0ac71ac773d3740b380f3cb48ab970cf1fd364be (patch) | |
tree | f2444a3e5883c533cac38dec757546364154c973 /Makefile | |
parent | db864e290ba1ec4acd74371b150e7770585ef284 (diff) | |
download | ohmycgi-0ac71ac773d3740b380f3cb48ab970cf1fd364be.tar.bz2 ohmycgi-0ac71ac773d3740b380f3cb48ab970cf1fd364be.zip |
Daemonize and allow the build of .debug and .release versions
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -12,13 +12,13 @@ CFLAGS += -I/usr/local/include | |||
12 | FILES := cgi.c http_parser.c | 12 | FILES := cgi.c http_parser.c |
13 | 13 | ||
14 | test: main | 14 | test: main |
15 | ./main | 15 | ./main.${BUILD} |
16 | 16 | ||
17 | main: clean | 17 | main: clean |
18 | $(CC) $(CFLAGS) -o $@ $(FILES) main.c $(LIBS) | 18 | $(CC) $(CFLAGS) -o $@.${BUILD} $(FILES) main.c $(LIBS) |
19 | 19 | ||
20 | clean: | 20 | clean: |
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) |