Files
old-nasuh/Makefile
2022-11-19 11:44:32 +01:00

18 lines
340 B
Makefile

# 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 nasuh-server
# end of Makefile