Nimbin2git.christianimmanuel.de / Games / strichmaennchen / Makefile

strichmaennchen git · main

git clone https://git.christianimmanuel.de/games/strichmaennchen.gitwget https://git.christianimmanuel.de/games/strichmaennchen/archive/strichmaennchen.tar.gz
Makefile 338 B · 14 lines raw
CC = gcc
CFLAGS = -Wall -Wextra -O2
LDFLAGS = -lSDL3 -lSDL3_image -lSDL3_ttf -lm -lGL

TARGET = game
SRC = main.c object.c camera.c game.c input.c linalg.c renderer.c mesh.c platform.c human.c world.c glfuncs.c shader.c time.c skybox.c ui.c

all: $(TARGET)

$(TARGET): $(SRC)
	$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)

clean:
	rm -f $(TARGET)