Initial commit.
This commit is contained in:
20
Makefile
Normal file
20
Makefile
Normal file
@@ -0,0 +1,20 @@
|
||||
CC = clang
|
||||
|
||||
UFLAGS =
|
||||
FLAGS = -Wall -Wextra -ggdb -fno-caret-diagnostics -fno-show-column
|
||||
#-std=c99 -pedantic
|
||||
|
||||
INCLUDE = $(shell pkg-config --cflags raylib)
|
||||
LIBS = $(shell pkg-config --libs raylib)
|
||||
FRAMEWORKS = -framework IOKit -framework Cocoa -framework OpenGL
|
||||
|
||||
EXE=main
|
||||
|
||||
$(EXE): $(EXE).c
|
||||
$(CC) $(FLAGS) $(UFLAGS) $(INCLUDE) $^ $(LIBS) -o $@
|
||||
|
||||
tags: $(OBJS)
|
||||
ctags -R *.h *.c
|
||||
|
||||
clean:
|
||||
rm -rf $(EXE) $(EXE).dSYM
|
||||
Reference in New Issue
Block a user