Makefile
资源名称:micq.tgz [点击查看]
上传用户:ai20ln
上传日期:2007-01-05
资源大小:79k
文件大小:1k
源码类别:
ICQ/即时通讯
开发平台:
Unix_Linux
- # Anyone who knows how to make Makefiles please help out.
- # I have no clue but this appears to work fairly well
- # be sure to use gmake
- CC = gcc
- CFLAGS = -O2 -Wall -DUNIX -DANSI_COLOR
- # Uncomment the below line for humorous messages
- #CFLAGS += -DFUNNY_MSGS
- # uncomment the line below for debuging info
- #CFLAGS += -g
- CLIBS =
- #uncomment the line below if your using Solaris
- #CLIBS= -lnsl -lsocket
- #uncomment the line below if your using MiNT
- #CLIBS= -lsocket
- #uncomment the line below if your using NeXT
- #CFLAGS += -posix
- OBJS =icq_response.o micq.o sendmsg.o rus_conv.o server.o ui.o util.o msg_queue.o
- HEADERS = datatype.h micq.h ui.h msg_queue.h
- #
- all : micq
- re : clean all
- micq : ${OBJS} ${HEADERS}
- ${CC} ${CFLAGS} -o micq ${OBJS} ${CLIBS}
- ${OBJS} : ${HEADERS}
- clean :
- rm -f ${OBJS}