Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@ubuntuZen:/home/mihai/lwip_stuff/my_app/test_app#
- root@ubuntuZen:/home/mihai/lwip_stuff/my_app/test_app# cat Makefile
- LIBPATH = ../..
- HEADPATH = -I$(LIBPATH)/lwip/src/include \
- -I$(LIBPATH)/lwip/src/include/ipv4 \
- -I$(LIBPATH)/lwip/src/include/ipv6
- UNIXPORTPATH = -I$(LIBPATH)/contrib/ports/unix/proj/lib \
- -I$(LIBPATH)/contrib/ports/unix/include
- FILES = test.c
- EXE_NAME = client
- ###############################################################################
- all:
- gcc $(HEADPATH) $(UNIXPORTPATH) $(FILES) -o $(EXE_NAME) -llwip -lpthread
- clean:
- rm test
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement