mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-06 03:29:01 +08:00
e1dd3f06fe
PUBLISHED_FROM=c9cc54df1883aa17606de2b1ffb30f0cd687d037
19 lines
479 B
Makefile
19 lines
479 B
Makefile
NS=../../mongoose.c
|
|
FLAGS = ../../mongoose.c -I../..
|
|
CFLAGS=-W -Wall -DMG_ENABLE_THREADS -pthread $(CFLAGS_EXTRA)
|
|
PROGS = device_side cloud_side
|
|
|
|
all: $(PROGS)
|
|
|
|
device_side: Makefile device_side.c $(NS)
|
|
$(CC) device_side.c $(FLAGS) -o $@ $(CFLAGS)
|
|
|
|
cloud_side: Makefile cloud_side.c $(NS)
|
|
$(CC) cloud_side.c $(FLAGS) -o $@ $(CFLAGS)
|
|
|
|
device_side.exe: Makefile device_side.c $(NS)
|
|
cl device_side.c $(FLAGS) /MD /Fe$@
|
|
|
|
clean:
|
|
rm -rf *.gc* *.dSYM *.exe *.obj *.o a.out $(PROGS)
|