Mercurial > hg > pub > prymula > com
view trix/Makefile.win @ 14:49dd434149cd
README.md immposiblerush
author | prymula <prymula76@outlook.com> |
---|---|
date | Sat, 10 Feb 2024 20:40:34 +0100 |
parents | 2787f5e749ae |
children |
line wrap: on
line source
-Dmain=SDL_main# Project: trix # Makefile created by Dev-C++ 4.9.9.2 CPP = g++.exe CC = i686-w64-mingw32-gcc WINDRES = i686-w64-mingw32-windres RES = OBJ = main.o menu.o game.o $(RES) LINKOBJ = main.o menu.o game.o $(RES) LIBS = -L"/usr/i686-w64-mingw32/sys-root/mingw/lib" -mwindows -lmingw32 -lSDL2main -lSDL2 -lSDL2_ttf -lSDL2_image -static-libgcc #LIBS = -L"C:\Program Files (x86)\mingw-w64\i686-8.1.0-posix-dwarf-rt_v6-rev0\mingw32\i686-w64-mingw32\pietraszczyk\lib" -mwindows -lmingw32 -lSDL2main -lSDL2 -lSDL2_ttf -lSDL2_image -static-libgcc INCS = -I"/usr/i686-w64-mingw32/sys-root/mingw/include" -Dmain=SDL2_main #INCS = -I"C:\Program Files (x86)\mingw-w64\i686-8.1.0-posix-dwarf-rt_v6-rev0\mingw32\i686-w64-mingw32\pietraszczyk\include" -Dmain=SDL_main CXXINCS = BIN = trix.exe CXXFLAGS = $(CXXINCS) -g CFLAGS = $(INCS) -g RM = rm -f .PHONY: all all-before all-after clean clean-custom all: all-before trix.exe all-after clean: clean-custom ${RM} $(OBJ) $(BIN) $(BIN): $(OBJ) $(WINDRES) trix.rc -O coff -o icon.o $(CC) $(LINKOBJ) -o "trix.exe" $(LIBS) icon.o main.o: main.c $(CC) -c main.c -o main.o $(CFLAGS) -DWINDOWS menu.o: menu.c $(CC) -c menu.c -o menu.o $(CFLAGS) -DWINDOWS game.o: game.c $(CC) -c game.c -o game.o $(CFLAGS) -DWINDOWS