This sounds an awful lot like homework. For fear that it is, here's some easy pointers:
a target gets defined by a word starting on column 1 & ending with a ':'
a line that starts with a <tab> will be run as a command - like it were run from the command line.
so, a makefile that looks like so:
will behave like so:
"make foo" will run "ls"
"make bar" will run "ls -l"
there can be more than one command per target - each needs it's own line. Thos commands can be anything - "ls", "g++ foo.C", "java bar", "rm *" - doesn't matter.
All those variables are nice & help you speed things up in the future, but they aren't necessary for now, so save that stuff for later.
btw - there's *loads* more to makefiles than this - this is just a start.
edit: after re-reading your post, the next to last line confuses me. "Server" should be a compiled java binary, right? In other words, your makefile should compile some java for you to a file called "Server" and then this shell script will execute that file - correct?