all : millstick #ClassProcessor CFLAGS:=$(CFLAGS) -g -Os CXXFLAGS:=$(CFLAGS) LDFLAGS:=-g MINGW32:=/usr/bin/i686-w64-mingw32- millstick.exe : millstick.c DrawFunctions.c WinDriver.c os_generic.c joystick.c configfiles.c $(MINGW32)gcc -m32 $(CFLAGS) -o $@ $^ -lgdi32 # Rasterizer.o millstick : millstick.o DrawFunctions.o XDriver.o os_generic.o joystick.o configfiles.o gcc -o $@ $^ -lX11 -lm -lpthread -lXinerama -lXext $(LDFLAGS) clean : rm -rf *.o *~ rawdraw os_gtest ontop millstick