|
|
1.1 ! root 1: # ! 2: # Makefile for pseudo-inews ! 3: # ! 4: ! 5: SRCS = inews.c uname.c ../common/clientlib.c ../common/version.c ! 6: OBJS = inews.o uname.o ../common/clientlib.o ../common/version.o ! 7: HFILES = ../common/response_codes.h ../common/conf.h ! 8: ! 9: CFLAGS = -O ! 10: ! 11: DESTDIR = /usr/local ! 12: ! 13: inews: $(OBJS) $(HFILES) ! 14: $(CC) $(CFLAGS) $(OBJS) -o inews ! 15: ! 16: uname.o: ../common/conf.h ! 17: ! 18: ../common/clientlib.o: ! 19: ${CC} ${CFLAGS} -c ../common/clientlib.c ! 20: mv clientlib.o ../common/clientlib.o ! 21: ! 22: ../common/version.o: ! 23: ${CC} ${CFLAGS} -c ../common/version.c ! 24: mv version.o ../common/version.o ! 25: ! 26: install: inews ! 27: cp inews ${DESTDIR}/inews ! 28: chmod 755 ${DESTDIR}/inews ! 29: ! 30: clean: ! 31: rm -f ${OBJS} inews ! 32: ! 33: distrib: clean ! 34: rm -f make.out ! 35: rm -rf SCCS ! 36: ! 37: lint: ! 38: lint ${SRCS} ${HFILES} ! 39: ! 40: tags: ! 41: ctags $(CFILES) $(HFILES)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.