annotate Jttt/wrapper-icon/Makefile.win @ 3:84e66ea83026

DPF-Prymula-audioplugins-0.231015-2
author prymula <prymula76@outlook.com>
date Mon, 16 Oct 2023 21:53:34 +0200
parents 2787f5e749ae
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
prymula <prymula76@outlook.com>
parents:
diff changeset
1 CPP = g++.exe
prymula <prymula76@outlook.com>
parents:
diff changeset
2 CC = i686-w64-mingw32-g++
prymula <prymula76@outlook.com>
parents:
diff changeset
3
prymula <prymula76@outlook.com>
parents:
diff changeset
4 WINDRES = i686-w64-mingw32-windres
prymula <prymula76@outlook.com>
parents:
diff changeset
5 RES =
prymula <prymula76@outlook.com>
parents:
diff changeset
6 OBJ = wrapper.o $(RES)
prymula <prymula76@outlook.com>
parents:
diff changeset
7 LINKOBJ = wrapper.o $(RES)
prymula <prymula76@outlook.com>
parents:
diff changeset
8 #LIBS = -L"/lib" -lsdl -lsdl_ttf -mwindows
prymula <prymula76@outlook.com>
parents:
diff changeset
9 LIBS = -static-libgcc
prymula <prymula76@outlook.com>
parents:
diff changeset
10 INCS =
prymula <prymula76@outlook.com>
parents:
diff changeset
11 CXXINCS =
prymula <prymula76@outlook.com>
parents:
diff changeset
12 BIN = wrapper.exe
prymula <prymula76@outlook.com>
parents:
diff changeset
13 CXXFLAGS = $(CXXINCS) -g
prymula <prymula76@outlook.com>
parents:
diff changeset
14 CFLAGS = $(INCS)
prymula <prymula76@outlook.com>
parents:
diff changeset
15 RM = rm
prymula <prymula76@outlook.com>
parents:
diff changeset
16
prymula <prymula76@outlook.com>
parents:
diff changeset
17 .PHONY: all all-before all-after clean clean-custom
prymula <prymula76@outlook.com>
parents:
diff changeset
18
prymula <prymula76@outlook.com>
parents:
diff changeset
19 all: all-before wrapper.exe all-after
prymula <prymula76@outlook.com>
parents:
diff changeset
20
prymula <prymula76@outlook.com>
parents:
diff changeset
21
prymula <prymula76@outlook.com>
parents:
diff changeset
22 clean: clean-custom
prymula <prymula76@outlook.com>
parents:
diff changeset
23 ${RM} $(OBJ)
prymula <prymula76@outlook.com>
parents:
diff changeset
24 ${RM} $(BIN)
prymula <prymula76@outlook.com>
parents:
diff changeset
25
prymula <prymula76@outlook.com>
parents:
diff changeset
26 $(WINDRES) Jttt.rc Jttt.res
prymula <prymula76@outlook.com>
parents:
diff changeset
27
prymula <prymula76@outlook.com>
parents:
diff changeset
28
prymula <prymula76@outlook.com>
parents:
diff changeset
29 $(BIN): $(OBJ)
prymula <prymula76@outlook.com>
parents:
diff changeset
30 $(WINDRES) Jttt.rc -O coff -o icon.o
prymula <prymula76@outlook.com>
parents:
diff changeset
31 $(CC) $(LINKOBJ) -o "wrapper.exe" $(LIBS) icon.o
prymula <prymula76@outlook.com>
parents:
diff changeset
32
prymula <prymula76@outlook.com>
parents:
diff changeset
33 wrapper.o: wrapper.c
prymula <prymula76@outlook.com>
parents:
diff changeset
34 $(CC) -c wrapper.c -o wrapper.o $(CFLAGS) -DNO_STDIO_REDIRECT
prymula <prymula76@outlook.com>
parents:
diff changeset
35
prymula <prymula76@outlook.com>
parents:
diff changeset
36