comparison immposiblerush/win32/Makefile.win @ 0:2787f5e749ae

INIT
author prymula <prymula76@outlook.com>
date Thu, 21 Sep 2023 22:33:57 +0200
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:2787f5e749ae
1 CPP = g++
2 CC = gcc
3
4 WINDRES = windres
5 RES =
6 OBJ = wrapper.o $(RES)
7 LINKOBJ = wrapper.o $(RES)
8 #LIBS = -L"/lib" -lsdl -lsdl_ttf -mwindows
9 LIBS = -static-libgcc
10 INCS =
11 CXXINCS =
12 BIN = immposiblerush.exe
13 CXXFLAGS = $(CXXINCS) -g
14 CFLAGS = $(INCS)
15 RM = rm
16
17 .PHONY: all all-before all-after clean clean-custom
18
19 all: all-before immposiblerush.exe all-after
20
21
22 clean: clean-custom
23 ${RM} $(OBJ)
24 ${RM} $(BIN)
25
26 ${RM} icon.o
27
28
29 $(BIN): $(OBJ)
30 $(WINDRES) Icon.rc -O coff -o icon.o
31 $(CC) $(LINKOBJ) -o "immposiblerush.exe" $(LIBS) -mwindows icon.o
32
33 wrapper.o: wrapper.c
34 $(CC) -c wrapper.c -o wrapper.o $(CFLAGS) -DNO_STDIO_REDIRECT
35
36