usnotime problems

Rick Kimball rick at kimbal.UUCP
Wed Nov 30 11:12:10 AEST 1988


>From article <39030 at uunet.UU.NET>, by pjb at pjbell.UUCP:
> i am trying to compile the usnotime code which receintly passed
>thru this group, and am having the following problem.  any
>ideas? ? ?


I should have sent a make file ... sorry!

#!/bin/sh
# to extract, remove the header and type "sh filename"
if `test ! -s ./makefile`
then
echo "writting ./makefile"
cat > ./makefile << '\Rogue\Monster\'
#------------------------------------------------------------
#  usno.mk - UNIX-PC only
#------------------------------------------------------------

include $(MAKEINC)/Makepre.h

CFLAGS = -O

LDFLAGS = -s

SRCS = 	usnotime.c

OBJS = 	usnotime.o

CMDS = usnotime

all: $(CMDS)

usnotime: usnotime.o	
	$(LD) $(LDFLAGS) $(SHAREDLIB) -o $@ $@.o

lint:
	lint $(SRCS)

clean:
	rm -f $(OBJS) $(CMDS)

install:
	mv usnotime /etc/usnotime
	chmod 4111 /etc/usnotime
	chown root /etc/usnotime
	chgrp bin /etc/usnotime
	
# EOF
\Rogue\Monster\
else
  echo "will not over write ./makefile"
fi
echo "Finished archive 1 of 1"
exit
-- 
____________________________________________________________________________
Rick Kimball | Mac Source BBS, Altamonte Springs, FL     DATA (407) 862-6214
             |                                          VOICE (407) 788-6875
UUCP: rick at kimbal ..!gatech!fabscal!kimbal!rick ..!ucf-cs!sdgsun!kimbal!rick



More information about the Unix-pc.sources mailing list