diff options
| author | dawidg81 <dawidgorski.m@gmail.com> | 2026-02-13 10:51:10 +0100 |
|---|---|---|
| committer | dawidg81 <dawidgorski.m@gmail.com> | 2026-02-13 10:51:10 +0100 |
| commit | 02f9415bc0a38e401ee4c78e03558c39f431924c (patch) | |
| tree | 0e4f5a576be0508d691da1dc5146f17ac69b6be2 /Makefile | |
| parent | ee3e2177a150041877e00ae900cec51be7aeca64 (diff) | |
Updated README.md
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 20 |
1 files changed, 10 insertions, 10 deletions
@@ -68,27 +68,27 @@ help: @echo ======================================== @echo libgraffik Build System @echo ======================================== - @echo: + @echo @echo Platform: $(PLATFORM) - @echo: + @echo @echo Usage: @echo make build BACKEND=^<backend^> EXAMPLE=^<example^> - @echo: + @echo @echo Available Backends: @echo sdl - SDL2 (cross-platform) @echo win32 - Win32 API (Windows only) @echo x11 - X11 (Linux only) - @echo: + @echo @echo Available Examples: @for %%f in ($(EXAMPLES_DIR)\*.cpp) do @echo %%~nf - @echo: + @echo @echo Example Commands: @echo make build BACKEND=sdl EXAMPLE=sample1 @echo make build BACKEND=win32 EXAMPLE=sample2 @echo make run BACKEND=sdl EXAMPLE=sample1 @echo make build-all BACKEND=sdl @echo make clean - @echo: + @echo # Build target .PHONY: build @@ -107,7 +107,7 @@ ifeq ($(PLATFORM),Windows) @if exist $(SDL2_PATH)\bin\SDL2.dll if not exist $(BUILD_DIR)\SDL2.dll copy $(SDL2_PATH)\bin\SDL2.dll $(BUILD_DIR)\ >nul 2>&1 endif endif - @echo: + @echo @echo Run with: $(BUILD_DIR)\$(EXAMPLE)$(EXE_EXT) # Validate inputs @@ -137,7 +137,7 @@ ifndef BACKEND endif @echo Building all examples with $(BACKEND) backend... @for %%f in ($(EXAMPLES_DIR)\*.cpp) do @$(MAKE) --no-print-directory build BACKEND=$(BACKEND) EXAMPLE=%%~nf - @echo: + @echo @echo All examples built successfully! # Run an example @@ -166,10 +166,10 @@ config: @echo Lib Dir: $(LIB_DIR) @echo Examples: $(EXAMPLES_DIR) @echo Build Dir: $(BUILD_DIR) - @echo: + @echo @echo Available Examples: @for %%f in ($(EXAMPLES_DIR)\*.cpp) do @echo - %%~nf - @echo: + @echo @echo Available Backends: @echo - sdl (SDL2) ifeq ($(PLATFORM),Windows) |
