################################################################# # Name: makefile # # Author: Jan Vales (e0726236@student.tuwien.ac.at) # # Date: 3.12.2009 # # Purpose: makefile # ################################################################# all: server client server: ttt-server ttt-server: ttt-server.o gcc -g -o ttt-server ttt-server.o -lsem182 ttt-server.o: ttt-server.c globals.h gcc -g -ansi -pedantic -Wall -g -c ttt-server.c client: ttt-client ttt-client: ttt-client.o gcc -g -o ttt-client ttt-client.o -lsem182 ttt-client.o: ttt-client.c globals.h gcc -g -ansi -pedantic -Wall -g -c ttt-client.c clean: rm -f ttt-server.o ttt-server ttt-client.o ttt-client