things/_templates/raylib/pixelart/Makefile

12 lines
226 B
Makefile

CFLAGS += -Wall -Wextra `exec pkg-config --cflags raylib`
LDFLAGS := -lm `pkg-config --libs raylib`
__PROGNAME: main.c
$(CC) $(CFLAGS) main.c $(LDFLAGS) -o __PROGNAME
clean:
$(RM) __PROGNAME
run: __PROGNAME
./__PROGNAME