#
# small makefile for setdinfo
#
# Use the commented out version of CFLAGS if you have a broken C compiler
# which doesn't know how to mix -g and -O

CC=	gcc
#CC=	cc
CFLAGS=	-O -g
#CFLAGS=	-O
BINDIR= /p/bin
MANDIR= /p/man/man8

SRC=	nsetdinfo.c Makefile
DOC=	README COPYWRONG ChangeLog nsetdinfo.8

nsetdinfo:	nsetdinfo.o

clean:
	rm -f core *.o a.out nsetdinfo

hello:
	@echo Hi to you too. Remember to smile if you like this.

install: nsetdinfo
	cp nsetdinfo $(BINDIR)
	cp nsetdinfo.8 $(MANDIR)

tar:
	tar cf - $(SRC) $(DOC) | compress > nsetdinfo-0.1.tar.Z 
