Initial version
This commit is contained in:
17
Makefile
Normal file
17
Makefile
Normal file
@@ -0,0 +1,17 @@
|
||||
# compile main.c and link it dynamically to the libmicrohttpd library
|
||||
# (libmicrohttpd.so must be in the library search path)
|
||||
# (this Makefile is for GNU make)
|
||||
|
||||
CC = gcc
|
||||
CFLAGS = -Wall -g -O2
|
||||
LDFLAGS = -lmicrohttpd
|
||||
|
||||
all: nasuh-server
|
||||
|
||||
nasuh-server: main.c
|
||||
$(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)
|
||||
|
||||
clean:
|
||||
rm -f main
|
||||
|
||||
# end of Makefile
|
||||
Reference in New Issue
Block a user