13 lines
227 B
Makefile
13 lines
227 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
|