Mercurial > hg > pub > prymula > com
view Jttt/wrapper-icon/Makefile.old.win @ 2:cf2cb71d31dd
immposiblerush-0.230919-0.2
author | prymula <prymula76@outlook.com> |
---|---|
date | Tue, 26 Sep 2023 21:50:44 +0200 |
parents | 2787f5e749ae |
children |
line wrap: on
line source
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