TARGET=ex2
LIBS = -L/usr/lib -lSDL
IDIR = -I/usr/include/SDL
CC = g++ -O3 

all:
	$(CC) -c ex2.cxx -o ex2.o $(IDIR)
	$(CC) -o $(TARGET) ex2.o $(LIBS)
	strip $(TARGET)
clean:
	rm -f ./*.o $(TARGET) core
