Simple example using libmicrohttpd
This commit is contained in:
15
Makefile
Normal file
15
Makefile
Normal file
@@ -0,0 +1,15 @@
|
||||
CFLAGS=-Wall -Wextra
|
||||
|
||||
LIBWS=./vendor/libmicrohttpd/
|
||||
LIBWS_LIB=$(LIBWS)lib/libmicrohttpd.a
|
||||
|
||||
LDFLAGS=-lm
|
||||
INCL_FLAGS=-I$(LIBWS)include
|
||||
|
||||
|
||||
main: src/main.c output
|
||||
gcc $(CFLAGS) $(INCL_FLAGS) -o output/main src/main.c $(LIBWS_LIB) $(LDFLAGS)
|
||||
|
||||
|
||||
output:
|
||||
mkdir -p output
|
||||
Reference in New Issue
Block a user