Makefile
上传用户:minyiyu
上传日期:2018-12-24
资源大小:864k
文件大小:1k
- #$Id: Makefile,v 1.1 2000/01/15 01:45:32 edwardc Exp $
- CC = gcc
- BBS_HOME = ${BBSHOME}
- BBSSRC = ../../src
- INCLUDE=-I../../include
- CFLAGS = -O2 -m486 -pipe ${INCLUDE}
- # For Solaris, HPUX, IRIX, ... remove above line and use CFLAGS in next line
- #CFLAGS = -O2 -DSYSV ${INCLUDE} -lsocket -lnsl
- UTILITY = fingerd
- all: $(UTILITY)
- install: $(UTILITY)
- cp $(UTILITY) $(BBSHOME)/bin
- chown root $(BBSHOME)/bin/fingerd
- chmod u+s $(BBSHOME)/bin/fingerd
- clean:
- rm -fr *.o *.BAK *.log *~ fingerd
- fingerd: fingerd.c
- $(CC) $(CFLAGS) -o fingerd fingerd.c ${BBSSRC}/modetype.c $(BBSSRC)/record.c