Advertisement
nucLeaRsc2

Untitled

Jul 29th, 2015
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. root@ubuntuZen:/home/mihai/lwip_stuff/my_app/test_app#
  2. root@ubuntuZen:/home/mihai/lwip_stuff/my_app/test_app# cat Makefile
  3. LIBPATH = ../..
  4.  
  5. HEADPATH = -I$(LIBPATH)/lwip/src/include \
  6. -I$(LIBPATH)/lwip/src/include/ipv4 \
  7. -I$(LIBPATH)/lwip/src/include/ipv6
  8.  
  9. UNIXPORTPATH = -I$(LIBPATH)/contrib/ports/unix/proj/lib \
  10. -I$(LIBPATH)/contrib/ports/unix/include
  11.  
  12. FILES = test.c
  13. EXE_NAME = client
  14.  
  15. ###############################################################################
  16.  
  17. all:
  18. gcc $(HEADPATH) $(UNIXPORTPATH) $(FILES) -o $(EXE_NAME) -llwip -lpthread
  19.  
  20.  
  21.  
  22. clean:
  23. rm test
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement