all:
	rm -f *.o
	echo "" > platform.h
	gcc mxfont.c -c `sdl-config --cflags`
	gcc pixelbuffer.c -c `sdl-config --cflags`
	gcc mx.c -c `sdl-config --cflags`
	gcc mx_win.c -c `sdl-config --cflags`
	gcc knight.c -c `sdl-config --cflags`
	gcc calc.c -c `sdl-config --cflags`
	gcc about.c -c `sdl-config --cflags`
	gcc mxfont.o pixelbuffer.o knight.o mx_win.o mx.o calc.o about.o -o MasterX `sdl-config --libs`
clean:
	rm -f *.o

 
