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