From 0ac71ac773d3740b380f3cb48ab970cf1fd364be Mon Sep 17 00:00:00 2001 From: Max Christian Pohle Date: Thu, 25 Nov 2021 14:37:41 +0100 Subject: Daemonize and allow the build of .debug and .release versions --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 2458ed9..14c362c 100644 --- a/Makefile +++ b/Makefile @@ -12,13 +12,13 @@ CFLAGS += -I/usr/local/include FILES := cgi.c http_parser.c test: main - ./main + ./main.${BUILD} main: clean - $(CC) $(CFLAGS) -o $@ $(FILES) main.c $(LIBS) + $(CC) $(CFLAGS) -o $@.${BUILD} $(FILES) main.c $(LIBS) clean: - rm -f ./main + rm -f ./main.${BUILD} # %: # $(CC) $(CFLAGS) -o $@ $(FILES) main.c $(LIBS) -- cgit v1.2.3