R. Clayton (rclayton@clayton.cs.monmouth.edu)
Wed, 17 Jan 2001 19:01:09 -0500 (EST)
I've modified the submit software to look for a makefile and run it if found.
The makefile should be named "makefile" or "Makefile" (without the double
quotes). If you don't include a makefile, you'll get an error response back.
There's an example makefile in /export/opt/cs-537/p1/Makefile.
I haven't yet modified send-files to look for a makefile, so you'll have to
explicitly list the files you want to send on the send-files command line;
otherwise send-files won't pick up a makefile. (Of course, you can also put
file sending in the makefile.)
For reasons I haven't yet divined, the submit software doesn't freak when it
encounters an error; it just stops. You have to scrutinize your e-mail reply
carefully to determine if your submission or test was successful; look for
commands that link the executables. For example, in the reply
Date: Wed, 11 Apr 2001 13:23:34 -0400 (EDT)
From: Richard Clayton <rclayton@cslab00.monmouth.edu>
To: rclayton@monmouth.edu
Subject: Assignment 1 submit results.
$ date
Wed Apr 11 13:23:24 EDT 2001
$ ls
Makefile
c.cc
cg.out
group
ip-utils.cc
ip-utils.h
nim.h
s.cc
$ /export/opt/bin/make
g++ -g -Wall -pedantic -c -o c.o c.cc
g++ -g -Wall -pedantic -c -o ip-utils.o ip-utils.cc
g++ -g -o nimc c.o ip-utils.o -lsocket -lnsl
g++ -g -Wall -pedantic -c -o s.o s.cc
g++ -g -o nims s.o ip-utils.o -lsocket -lnsl
--
Your e-mail and this reply have been dealt with entirely by software
without human intervention. You should not assume any person other
than yourself is aware of your e-mail or this reply; in particular, the
person who appears to have sent you this reply is completely unaware of
both your e-mail and this reply.
the lines
g++ -g -o nimc c.o ip-utils.o -lsocket -lnsl
and
g++ -g -o nims s.o ip-utils.o -lsocket -lnsl
indicate the client and server compiled successfully. On the other hand, the
reply
Date: Wed, 11 Apr 2001 13:27:38 -0400 (EDT)
From: Richard Clayton <rclayton@cslab00.monmouth.edu>
To: rclayton@monmouth.edu
Subject: Assignment 1 submit results.
$ date
Wed Apr 11 13:27:38 EDT 2001
$ ls
Makefile
c.cc
cg.out
group
ip-utils.cc
ip-utils.h
nim.h
s.cc
$ /export/opt/bin/make
CC -g -Wall -pedantic -c -o c.o c.cc
--
Your e-mail and this reply have been dealt with entirely by software
without human intervention. You should not assume any person other
than yourself is aware of your e-mail or this reply; in particular, the
person who appears to have sent you this reply is completely unaware of
both your e-mail and this reply.
indicates that something happened because neither the client nor sever compiled
successfully (it turns out that the submit software didn't know where CC was).
This archive was generated by hypermail 2.0b3 on Thu May 17 2001 - 12:00:05 EDT