Dodaj pliki projektów.

This commit is contained in:
Pc
2024-11-28 18:17:49 +01:00
parent 7e7c083809
commit b5356807ae
450 changed files with 139514 additions and 0 deletions

16
Makefile Normal file
View File

@@ -0,0 +1,16 @@
# mingw-w64-x86_64-gcc-14.1.0-3 to ostatnia wspierana wersja gcc, w której można stosować wildcard'y "*.cpp"
CC = "C:\\msys64\\mingw64\\bin\\g++.exe"
CFLAGS = -I.
DEPS = -lglew32 -lopengl32 -lglu32 -lgdi32
LINK = -L. -DGLEW_STATIC
OUTPUT = output.exe
CPPSTD = c++17
default:
$(CC) -g *.cpp $(CFLAGS) $(DEPS) $(LINK) -std=$(CPPSTD) -static -static-libgcc -fno-keep-inline-dllexport -o $(OUTPUT)
run: default
$(OUTPUT)
clean:
rm $(OUTPUT)