Add mip-pcap example

This commit is contained in:
Sergey Lyubka committed 2022-06-13 02:03:52 +01:00
1 parent 5a448ab4f5
commit 6d46ecaa6c
3 files changed
+146 -1

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
PROG ?= example
DEFS ?= -DMG_ENABLE_LINES=1 -DMG_ENABLE_MIP=1 -DMG_ENABLE_SOCKET=0 -DMG_ENABLE_WINSOCK=0 -I../..
CFLAGS ?= -W -Wall
LIBS ?= -lpcap
all: $(PROG)
$(RUN) ./$(PROG) $(ARGS)
$(PROG): main.c
$(CC) main.c ../../mongoose.c $(CFLAGS) $(DEFS) -o $(PROG) $(LIBS)
clean:
rm -rf $(PROG) *.o *.dSYM *.gcov *.gcno *.gcda *.obj *.exe *.ilk *.pdb