]> git.somenet.org - pub/jan/sysprog.git/blob - ttt/makefile
all the old sysprog files
[pub/jan/sysprog.git] / ttt / makefile
1 #################################################################
2 # Name:         makefile                                        #
3 # Author:       Jan Vales (e0726236@student.tuwien.ac.at)       #
4 # Date:         3.12.2009                                       #
5 # Purpose:      makefile                                        #
6 #################################################################
7
8
9
10 all: server client
11
12 server: ttt-server
13
14 ttt-server: ttt-server.o
15         gcc -g -o ttt-server ttt-server.o -lsem182
16
17 ttt-server.o: ttt-server.c globals.h
18         gcc -g -ansi -pedantic -Wall -g -c ttt-server.c
19
20 client: ttt-client
21
22 ttt-client: ttt-client.o
23         gcc -g -o ttt-client ttt-client.o -lsem182
24
25 ttt-client.o: ttt-client.c globals.h
26         gcc -g -ansi -pedantic -Wall -g -c ttt-client.c
27         
28 clean:
29         rm -f ttt-server.o ttt-server ttt-client.o ttt-client