1 Star 0 Fork 2

northqd/udptunnel

forked from longchun/udptunnel 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Makefile 588 Bytes
一键复制 编辑 原始数据 按行查看 历史
Felipe Astroza 提交于 2013-08-09 22:11 . + Control channel
INCLUDE = -I./include
CC = gcc
#CC = /home/felipe/Sources/OpenWrt-SDK-brcm47xx-2.6-for-Linux-i686/staging_dir_mipsel/bin/mipsel-linux-gcc
CFLAGS = -Wall
all: socket.o tun.o util.o client.o server.o
$(CC) socket.o tun.o util.o client.o -o client
$(CC) socket.o tun.o util.o server.o -o server
socket.o: socket.c
$(CC) $(CFLAGS) $(INCLUDE) -c $?
tun.o: tun.c
$(CC) $(CFLAGS) $(INCLUDE) -c $?
util.o: util.c
$(CC) $(CFLAGS) $(INCLUDE) -c $?
client.o: client.c
$(CC) $(CFLAGS) $(INCLUDE) -c $?
server.o: server.c
$(CC) $(CFLAGS) $(INCLUDE) -c $?
clean:
rm -f *.o client server
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/northqd2018/udptunnel.git
[email protected]:northqd2018/udptunnel.git
northqd2018
udptunnel
udptunnel
master

搜索帮助