Path: utzoo!utgpu!watmath!uunet!xanth!mcnc!rutgers!labrea!bloom-beacon!tut.cis.ohio-state.edu!mailrus!ames!zorch!pacbell!att!codas!flnexus!pcsi!kimbal!rick
From: rick@kimbal.UUCP (Rick Kimball)
Newsgroups: unix-pc.sources
Subject: Re: usnotime problems
Message-ID: <817@kimbal.UUCP>
Date: 30 Nov 88 01:12:10 GMT
References: <39030@uunet.UU.NET>
Organization: Mac Source BBS, Altamonte Springs, FL (407)862-6214
Lines: 59

From article <39030@uunet.UU.NET>, by pjb@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@kimbal ..!gatech!fabscal!kimbal!rick ..!ucf-cs!sdgsun!kimbal!rick