Advertisement
Guest User

Untitled

a guest
Jan 14th, 2012
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Make 0.51 KB | None | 0 0
  1. #Copyright (c) 2012 Joji Antony
  2. #All right reserved
  3. #Licensce Affero GPL v3
  4.  
  5. #Cross compiler location
  6. CC = /media/DATAPART/Temp/mips/toolchain-mips_r2_gcc-4.5-linaro_uClibc-0.9.32/bin/mips-openwrt-linux-gcc
  7. CFLAGS = -O3 -Os
  8. all:spectranet
  9. spectranet: main.c spectranet.o tcp.o
  10.     $(CC) $(CFLAGS) main.c spectranet.o tcp.o -o spectranet
  11. spectranet.o: spectranet.h spectranet.c
  12.     $(CC) $(CFLAGS) -c spectranet.c -o spectranet.o
  13. tcp.o: tcp.c tcp.h
  14.     $(CC) $(CFLAGS) -c tcp.c -o tcp.o
  15. clean:
  16.     rm -f *.o spectranet
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement