sw-battle-test-c

Interesting test task in C instead of C++
git clone git://bsandro.tech/sw-battle-test-c
Log | Files | Refs | README

commit bd92d7123edbfa24efb9f176460712702830b854
parent 98b99c865a9f62e8c7f044be52f74cb0df0432ba
Author: bsandro <email@bsandro.tech>
Date:   Tue, 25 Aug 2026 01:39:21 +0300

crutch for pseudorecursive C files (only 3 levels deep for now)

Diffstat:
MMakefile | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile @@ -1,8 +1,8 @@ NAME=$(shell basename ${PWD}) SDL_CFLAGS=$(shell pkg-config --cflags sdl2 SDL2_image) SDL_LDFLAGS=$(shell pkg-config --libs sdl2 SDL2_image) -SRC:=$(wildcard *.c **/*.c) -DEPS:=$(wildcard *.h **/*.h) +SRC:=$(wildcard *.c */*.c */*/*.c) +DEPS:=$(wildcard *.h */*.h */*/*.h) OBJ:=$(SRC:.c=.o) CFLAGS=-std=c99 -Wpedantic -Wall -Wextra -ffast-math -I. $(SDL_CFLAGS) ifeq (${DEBUG},1)