# $Id: Makefile,v 1.50 2003/09/02 16:20:44 jbaltes Exp $
#

# For Debian User's select the correct g++ to ling against the
# SDL libraries.
CXX=g++
CC=gcc

OPT	=  -O3

OBJECTS = ClientPrinter.o

all: ClientPrinter

.PHONY: clean

# redefine the cc rule, just so that we have some more control if
# we ever need it (Jacky)

%.o:%.cc
	$(CXX) -Wall $(OPT) -c $< -o $@

%.o:%.c
	$(CC) -Wall $(OPT) -c $< -o $@

ClientPrinter: ClientPrinter.o
	$(CXX) -Wall $(OPT) -o $@ ClientPrinter.o

clean:
	rm -f $(OBJECTS) ClientPrinter *.o


