initial commit for coom in opengl
This commit is contained in:
15
Makefile
Normal file
15
Makefile
Normal file
@@ -0,0 +1,15 @@
|
||||
|
||||
CC = clang++
|
||||
CFLAGS = -Wall -Wextra -Iinclude
|
||||
LIBS = -lglfw -lX11 -lXi -lXcursor -lGL -lasound -ldl -lm
|
||||
|
||||
default:
|
||||
mkdir -p build
|
||||
$(CC) $(CFLAGS) main.cpp glad.c stb_image.cpp -o build/main $(LIBS)
|
||||
|
||||
run:
|
||||
cd build && prime-run ./main
|
||||
full:
|
||||
make && make run
|
||||
clean:
|
||||
rm -f build/main
|
||||
Reference in New Issue
Block a user