1 OBJS = src/main.o src/player.o src/platforms.o src/rect.o
2 LIBS=$(shell pkg-config gl sdl2 --libs)
3 CFLAGS=-Wall -Werror -std=c11 $(shell pkg-config gl sdl2 --cflags)
6 cc $(CFLAGS) $(OBJS) -o nothing $(LIBS)
9 cc $(CFLAGS) -c $< -o $@
14 rm -rf nothing $(OBJS)