Linux support to Makefile.
This commit is contained in:
6
Makefile
6
Makefile
@@ -4,10 +4,16 @@ UFLAGS =
|
|||||||
FLAGS = -Wall -Wextra -ggdb -fno-caret-diagnostics -fno-show-column
|
FLAGS = -Wall -Wextra -ggdb -fno-caret-diagnostics -fno-show-column
|
||||||
#-std=c99 -pedantic
|
#-std=c99 -pedantic
|
||||||
|
|
||||||
|
# MacOS
|
||||||
INCLUDE = $(shell pkg-config --cflags raylib)
|
INCLUDE = $(shell pkg-config --cflags raylib)
|
||||||
LIBS = $(shell pkg-config --libs raylib)
|
LIBS = $(shell pkg-config --libs raylib)
|
||||||
FRAMEWORKS = -framework IOKit -framework Cocoa -framework OpenGL
|
FRAMEWORKS = -framework IOKit -framework Cocoa -framework OpenGL
|
||||||
|
|
||||||
|
# Linux
|
||||||
|
# INCLUDE = -I./third_party/raylib/src/
|
||||||
|
# LIBS = ./third_party/raylib/src/libraylib.a -lm
|
||||||
|
# FRAMEWORKS =
|
||||||
|
|
||||||
EXE=main
|
EXE=main
|
||||||
|
|
||||||
$(EXE): $(EXE).c
|
$(EXE): $(EXE).c
|
||||||
|
|||||||
Reference in New Issue
Block a user