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