mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-16 10:29:22 +08:00
15 lines
297 B
Makefile
15 lines
297 B
Makefile
PROG = json_rpc_server
|
|
SOURCES = $(PROG).c ../../mongoose.c
|
|
CFLAGS = -W -Wall -I../.. -pthread $(CFLAGS_EXTRA)
|
|
|
|
all: $(PROG)
|
|
|
|
$(PROG): $(SOURCES)
|
|
$(CC) $(SOURCES) -o $@ $(CFLAGS)
|
|
|
|
$(PROG).exe: $(SOURCES)
|
|
cl $(SOURCES) /I../.. /MD /Fe$@
|
|
|
|
clean:
|
|
rm -rf *.gc* *.dSYM *.exe *.obj *.o a.out $(PROG)
|