From 74a88f882ea83593d727e7031e20791349c013cd Mon Sep 17 00:00:00 2001 From: Przemyslaw Date: Mon, 1 Apr 2024 09:10:43 +0200 Subject: Init --- wrapper-icon/Makefile.old.win | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 wrapper-icon/Makefile.old.win (limited to 'wrapper-icon/Makefile.old.win') diff --git a/wrapper-icon/Makefile.old.win b/wrapper-icon/Makefile.old.win new file mode 100644 index 0000000..107331f --- /dev/null +++ b/wrapper-icon/Makefile.old.win @@ -0,0 +1,33 @@ +CPP = g++.exe +CC = gcc.exe + +WINDRES = windres.exe +RES = +OBJ = wrapper.o $(RES) +LINKOBJ = wrapper.o $(RES) +#LIBS = -L"/lib" -lsdl -lsdl_ttf -mwindows +LIBS = -static-libgcc +INCS = +CXXINCS = +BIN = wrapper.exe +CXXFLAGS = $(CXXINCS) -g +CFLAGS = $(INCS) +RM = rm + +.PHONY: all all-before all-after clean clean-custom + +all: all-before wrapper.exe all-after + + +clean: clean-custom + ${RM} $(OBJ) + ${RM} $(BIN) + + +$(BIN): $(OBJ) + $(CC) $(LINKOBJ) -o "wrapper.exe" $(LIBS) + +wrapper.o: wrapper.c + $(CC) -c wrapper.c -o wrapper.o $(CFLAGS) -DNO_STDIO_REDIRECT + + -- cgit v1.2.3