fixed
This commit is contained in:
parent
b96d90d6a3
commit
69a0733ebe
3 changed files with 9 additions and 2 deletions
6
Makefile
6
Makefile
|
|
@ -1,5 +1,9 @@
|
|||
LIBS=sdl3 opengl
|
||||
CFLAGS=-g -Wall -Wextra $(shell pkg-config --cflags $(LIBS))
|
||||
LDFLAGS=$(shell pkg-config --libs $(LIBS))
|
||||
|
||||
all:
|
||||
$(CC) -o glonkers main.c $(pkg-config --cflags --libs sdl3 opengl)
|
||||
$(CC) $(CFLAGS) $(LDFLAGS) -o glonkers main.c
|
||||
|
||||
run: all
|
||||
./glonkers
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue