Get glad and update compile script
This commit is contained in:
8
compile
8
compile
@@ -1,9 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
CC=clang
|
||||
CFLAGS="-g -Wall $(pkg-config --cflags sdl2)"
|
||||
LIBS="$(pkg-config --libs sdl2)"
|
||||
SRC=src/*.c
|
||||
CC=g++
|
||||
CFLAGS="-g -Wall $(pkg-config --cflags sdl2) -Isrc/glad/include"
|
||||
LIBS="$(pkg-config --libs sdl2) -ldl"
|
||||
SRC="src/*.cc src/glad/src/glad.c"
|
||||
OUT=main
|
||||
|
||||
(set -x ; $CC $CFLAGS $LIBS $SRC -o $OUT)
|
||||
|
||||
Reference in New Issue
Block a user