CXX = g++ FLAGS = -Wall LDFLAGS = -lallegro-static LIBS = -L./ OTHER_FLAGS = -lwinmm -lopengl32 -lgdi32 -lole32 -lshlwapi WINFLAG = -mwindows BIN = main SOURCE = main.c all: $(CXX) $(SOURCE) $(LIBS) $(LDFLAGS) $(FLAGS) $(OTHER_FLAGS) $(WINFLAG) -o $(BIN)