comparison Jttt/wrapper-icon/Makefile.old.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++.exe
2 CC = gcc.exe
3
4 WINDRES = windres.exe
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 = wrapper.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 wrapper.exe all-after
20
21
22 clean: clean-custom
23 ${RM} $(OBJ)
24 ${RM} $(BIN)
25
26
27 $(BIN): $(OBJ)
28 $(CC) $(LINKOBJ) -o "wrapper.exe" $(LIBS)
29
30 wrapper.o: wrapper.c
31 $(CC) -c wrapper.c -o wrapper.o $(CFLAGS) -DNO_STDIO_REDIRECT
32
33