.POSIX: CC := clang CFLAGS := -std=c11 -Wall -Wextra -Wshadow -Iinclude $(shell sdl2-config --cflags) LDFLAGS := LDLIBS := -ldl $(shell sdl2-config --libs) all: mino mino: glad.o graph.o mino.o mino.o: mino.c include/mino.h graph.o: graph.c include/graph.h glad.o: glad.c include/glad/glad.h clean: rm -rf mino mino.o graph.o glad.o