Initial commit basically lol

This commit is contained in:
Martin Dvořák 2026-08-28 20:51:26 +02:00
commit 6d77491228
5 changed files with 316 additions and 2 deletions

14
Makefile Normal file
View file

@ -0,0 +1,14 @@
makeCC = gcc
CFLAGS = -Wall -Wextra -std=c11 $(shell sdl2-config --cflags)
LDFLAGS = $(shell sdl2-config --libs) -lSDL2_image -lSDL2_ttf -lSDL2_mixer
TARGET = game
SRC = src/main.c
all: $(TARGET)
$(TARGET): $(SRC)
$(CC) $(CFLAGS) $(SRC) -o $(TARGET) $(LDFLAGS)
clean:
rm -f $(TARGET)