diff options
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) |