CFLAGS = -I/opt/homebrew/include -O2 -Wall -Wextra
LDFLAGS = -L/opt/homebrew/lib -lglfw -lvulkan -ldl
CC = gcc
SOURCES = $(wildcard $(SRC)/*.c)
%.o: %.c
$(CC) -c -o $@ $< $(CFLAGS)
spacegame: src/main.o
$(CC) -o $@ $^ $(CFLAGS) $(LDFLAGS)