Files
2048/Makefile
T
SnailMan fac6318f1f Game core prototype
Manged to get the moves and tile spawns. Double merge block to be implemented.
2026-03-05 22:19:48 +01:00

20 lines
261 B
Makefile

CC = gcc
CFLAGS = -Wall -Wextra -std=c11
LIBS = -lraylib -lm -lpthread -ldl
TARGET = main
SRC = main.c
all: $(TARGET)
$(TARGET): $(SRC)
$(CC) $(CFLAGS) $(SRC) -o $(TARGET) $(LIBS)
clean:
rm -f $(TARGET)
run: $(TARGET)
./$(TARGET)
.PHONY: all clean run