-
Notifications
You must be signed in to change notification settings - Fork 277
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #59 from capnramses/macOS-makefile-tweaks
Mac os makefile tweaks
- Loading branch information
Showing
42 changed files
with
103 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
BIN = extinit | ||
CC = clang | ||
FLAGS = -std=c99 -DAPPLE -Wall -pedantic | ||
INC = -I/sw/include -I/usr/local/include | ||
LIBS = -lGLEW -lglfw | ||
INC = -I/sw/include -I/usr/local/include -I/opt/homebrew/include | ||
LIBS = -L /opt/homebrew/lib -lGLEW -lglfw | ||
FRAMEWORKS = -framework Cocoa -framework OpenGL -framework IOKit | ||
SRC = main.c | ||
|
||
all: | ||
${CC} ${FLAGS} ${FRAMEWORKS} -o ${BIN} ${SRC} ${LIBS} | ||
${CC} ${FLAGS} ${FRAMEWORKS} -o ${BIN} ${SRC} ${INC} ${LIBS} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
BIN = shaders | ||
CC = clang | ||
FLAGS = -std=c99 -DAPPLE -Wall -pedantic -mmacosx-version-min=10.5 -arch x86_64 -fmessage-length=0 -UGLFW_CDECL -fprofile-arcs -ftest-coverage | ||
INC = -I/sw/include -I/usr/local/include | ||
LIBS = -lGLEW -lglfw | ||
FLAGS = -std=c99 -DAPPLE -Wall -pedantic | ||
INC = -I/sw/include -I/usr/local/include -I/opt/homebrew/include | ||
LIBS = -L /opt/homebrew/lib -lGLEW -lglfw | ||
FRAMEWORKS = -framework Cocoa -framework OpenGL -framework IOKit | ||
SRC = main.c gl_utils.c | ||
|
||
all: | ||
${CC} ${FLAGS} ${FRAMEWORKS} -o ${BIN} ${SRC} ${LIBS} | ||
${CC} ${FLAGS} ${FRAMEWORKS} -o ${BIN} ${SRC} ${INC} ${LIBS} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
BIN = vbuffs | ||
CC = clang++ | ||
FLAGS = -DAPPLE -Wall -pedantic | ||
INC = -I/sw/include -I/usr/local/include | ||
LIBS = -lGLEW -lglfw | ||
INC = -I/sw/include -I/usr/local/include -I/opt/homebrew/include | ||
LIBS = -L /opt/homebrew/lib -lGLEW -lglfw | ||
FRAMEWORKS = -framework Cocoa -framework OpenGL -framework IOKit | ||
SRC = main.cpp gl_utils.cpp | ||
|
||
all: | ||
${CC} ${FLAGS} ${FRAMEWORKS} -o ${BIN} ${SRC} ${LIBS} | ||
${CC} ${FLAGS} ${FRAMEWORKS} -o ${BIN} ${SRC} ${INC} ${LIBS} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
BIN = matsvecs | ||
CC = clang++ | ||
FLAGS = -DAPPLE -Wall -pedantic | ||
INC = -I/sw/include -I/usr/local/include | ||
LIBS = -lGLEW -lglfw | ||
INC = -I/sw/include -I/usr/local/include -I/opt/homebrew/include | ||
LIBS = -L /opt/homebrew/lib -lGLEW -lglfw | ||
FRAMEWORKS = -framework Cocoa -framework OpenGL -framework IOKit | ||
SRC = main.cpp gl_utils.cpp | ||
|
||
all: | ||
${CC} ${FLAGS} ${FRAMEWORKS} -o ${BIN} ${SRC} ${LIBS} | ||
${CC} ${FLAGS} ${FRAMEWORKS} -o ${BIN} ${SRC} ${INC} ${LIBS} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
BIN = vcam | ||
CC = clang++ | ||
FLAGS = -DAPPLE -Wall -pedantic | ||
INC = -I/sw/include -I/usr/local/include | ||
LIBS = -lGLEW -lglfw | ||
INC = -I/sw/include -I/usr/local/include -I/opt/homebrew/include | ||
LIBS = -L /opt/homebrew/lib -lGLEW -lglfw | ||
FRAMEWORKS = -framework Cocoa -framework OpenGL -framework IOKit | ||
SRC = main.cpp gl_utils.cpp maths_funcs.cpp | ||
|
||
all: | ||
${CC} ${FLAGS} ${FRAMEWORKS} -o ${BIN} ${SRC} ${LIBS} | ||
${CC} ${FLAGS} ${FRAMEWORKS} -o ${BIN} ${SRC} ${INC} ${LIBS} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
BIN = quats | ||
CC = clang++ | ||
FLAGS = -DAPPLE -Wall -pedantic | ||
INC = -I/sw/include -I/usr/local/include | ||
LIBS = -lGLEW -lglfw | ||
INC = -I/sw/include -I/usr/local/include -I/opt/homebrew/include | ||
LIBS = -L /opt/homebrew/lib -lGLEW -lglfw | ||
FRAMEWORKS = -framework Cocoa -framework OpenGL -framework IOKit | ||
SRC = main.cpp gl_utils.cpp maths_funcs.cpp obj_parser.cpp | ||
|
||
all: | ||
${CC} ${FLAGS} ${FRAMEWORKS} -o ${BIN} ${SRC} ${LIBS} | ||
${CC} ${FLAGS} ${FRAMEWORKS} -o ${BIN} ${SRC} ${INC} ${LIBS} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
BIN = raypick | ||
CC = clang++ | ||
FLAGS = -DAPPLE -Wall -pedantic | ||
INC = -I/sw/include -I/usr/local/include | ||
LIBS = -lGLEW -lglfw | ||
INC = -I/sw/include -I/usr/local/include -I/opt/homebrew/include | ||
LIBS = -L /opt/homebrew/lib -lGLEW -lglfw | ||
FRAMEWORKS = -framework Cocoa -framework OpenGL -framework IOKit | ||
SRC = main.cpp gl_utils.cpp maths_funcs.cpp obj_parser.cpp | ||
|
||
all: | ||
${CC} ${FLAGS} ${FRAMEWORKS} -o ${BIN} ${SRC} ${LIBS} | ||
${CC} ${FLAGS} ${FRAMEWORKS} -o ${BIN} ${SRC} ${INC} ${LIBS} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
BIN = phong | ||
CC = clang++ | ||
FLAGS = -DAPPLE -Wall -pedantic | ||
INC = -I/sw/include -I/usr/local/include | ||
LIBS = -lGLEW -lglfw | ||
INC = -I/sw/include -I/usr/local/include -I/opt/homebrew/include | ||
LIBS = -L /opt/homebrew/lib -lGLEW -lglfw | ||
FRAMEWORKS = -framework Cocoa -framework OpenGL -framework IOKit | ||
SRC = main.cpp maths_funcs.cpp gl_utils.cpp | ||
|
||
all: | ||
${CC} ${FLAGS} ${FRAMEWORKS} -o ${BIN} ${SRC} ${LIBS} | ||
${CC} ${FLAGS} ${FRAMEWORKS} -o ${BIN} ${SRC} ${INC} ${LIBS} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
BIN = texmap | ||
CC = clang++ | ||
FLAGS = -DAPPLE -Wall -pedantic | ||
INC = -I/sw/include -I/usr/local/include | ||
LIBS = -lGLEW -lglfw | ||
INC = -I/sw/include -I/usr/local/include -I/opt/homebrew/include | ||
LIBS = -L /opt/homebrew/lib -lGLEW -lglfw | ||
FRAMEWORKS = -framework Cocoa -framework OpenGL -framework IOKit | ||
SRC = main.cpp maths_funcs.cpp gl_utils.cpp | ||
|
||
all: | ||
${CC} ${FLAGS} ${FRAMEWORKS} -o ${BIN} ${SRC} ${LIBS} | ||
${CC} ${FLAGS} ${FRAMEWORKS} -o ${BIN} ${SRC} ${INC} ${LIBS} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
BIN = scrcap | ||
CC = clang++ | ||
FLAGS = -DAPPLE -Wall -pedantic | ||
INC = -I/sw/include -I/usr/local/include | ||
LIBS = -lGLEW -lglfw | ||
INC = -I/sw/include -I/usr/local/include -I/opt/homebrew/include | ||
LIBS = -L /opt/homebrew/lib -lGLEW -lglfw | ||
FRAMEWORKS = -framework Cocoa -framework OpenGL -framework IOKit | ||
SRC = main.cpp maths_funcs.cpp gl_utils.cpp | ||
|
||
all: | ||
${CC} ${FLAGS} ${FRAMEWORKS} -o ${BIN} ${SRC} ${LIBS} | ||
${CC} ${FLAGS} ${FRAMEWORKS} -o ${BIN} ${SRC} ${INC} ${LIBS} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
BIN = vidcap | ||
CC = clang++ | ||
FLAGS = -DAPPLE -Wall -pedantic | ||
INC = -I/sw/include -I/usr/local/include | ||
LIBS = -lGLEW -lglfw | ||
INC = -I/sw/include -I/usr/local/include -I/opt/homebrew/include | ||
LIBS = -L /opt/homebrew/lib -lGLEW -lglfw | ||
FRAMEWORKS = -framework Cocoa -framework OpenGL -framework IOKit | ||
SRC = main.cpp maths_funcs.cpp gl_utils.cpp | ||
|
||
all: | ||
${CC} ${FLAGS} ${FRAMEWORKS} -o ${BIN} ${SRC} ${LIBS} | ||
${CC} ${FLAGS} ${FRAMEWORKS} -o ${BIN} ${SRC} ${INC} ${LIBS} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
BIN = debugshdrs | ||
CC = clang++ | ||
FLAGS = -DAPPLE -Wall -pedantic | ||
INC = -I/sw/include -I/usr/local/include | ||
LIBS = -lGLEW -lglfw | ||
INC = -I/sw/include -I/usr/local/include -I/opt/homebrew/include | ||
LIBS = -L /opt/homebrew/lib -lGLEW -lglfw | ||
FRAMEWORKS = -framework Cocoa -framework OpenGL -framework IOKit | ||
SRC = main.cpp maths_funcs.cpp gl_utils.cpp obj_parser.cpp | ||
|
||
all: | ||
${CC} ${FLAGS} ${FRAMEWORKS} -o ${BIN} ${SRC} ${LIBS} | ||
${CC} ${FLAGS} ${FRAMEWORKS} -o ${BIN} ${SRC} ${INC} ${LIBS} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
BIN = multitex | ||
CC = clang++ | ||
FLAGS = -DAPPLE -Wall -pedantic | ||
INC = -I/sw/include -I/usr/local/include | ||
LIBS = -lGLEW -lglfw | ||
INC = -I/sw/include -I/usr/local/include -I/opt/homebrew/include | ||
LIBS = -L /opt/homebrew/lib -lGLEW -lglfw | ||
FRAMEWORKS = -framework Cocoa -framework OpenGL -framework IOKit | ||
SRC = main.cpp maths_funcs.cpp gl_utils.cpp | ||
|
||
all: | ||
${CC} ${FLAGS} ${FRAMEWORKS} -o ${BIN} ${SRC} ${LIBS} | ||
${CC} ${FLAGS} ${FRAMEWORKS} -o ${BIN} ${SRC} ${INC} ${LIBS} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
BIN = fragrej | ||
CC = clang++ | ||
FLAGS = -DAPPLE -Wall -pedantic | ||
INC = -I/sw/include -I/usr/local/include | ||
LIBS = -lGLEW -lglfw | ||
INC = -I/sw/include -I/usr/local/include -I/opt/homebrew/include | ||
LIBS = -L /opt/homebrew/lib -lGLEW -lglfw | ||
FRAMEWORKS = -framework Cocoa -framework OpenGL -framework IOKit | ||
SRC = main.cpp maths_funcs.cpp gl_utils.cpp | ||
|
||
all: | ||
${CC} ${FLAGS} ${FRAMEWORKS} -o ${BIN} ${SRC} ${LIBS} | ||
${CC} ${FLAGS} ${FRAMEWORKS} -o ${BIN} ${SRC} ${INC} ${LIBS} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
BIN = alphablend | ||
CC = clang++ | ||
FLAGS = -DAPPLE -Wall -pedantic | ||
INC = -I/sw/include -I/usr/local/include | ||
LIBS = -lGLEW -lglfw | ||
INC = -I/sw/include -I/usr/local/include -I/opt/homebrew/include | ||
LIBS = -L /opt/homebrew/lib -lGLEW -lglfw | ||
FRAMEWORKS = -framework Cocoa -framework OpenGL -framework IOKit | ||
SRC = main.cpp maths_funcs.cpp gl_utils.cpp | ||
|
||
all: | ||
${CC} ${FLAGS} ${FRAMEWORKS} -o ${BIN} ${SRC} ${LIBS} | ||
${CC} ${FLAGS} ${FRAMEWORKS} -o ${BIN} ${SRC} ${INC} ${LIBS} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
BIN = spotlights | ||
CC = clang++ | ||
FLAGS = -DAPPLE -Wall -pedantic | ||
INC = -I/sw/include -I/usr/local/include | ||
LIBS = -lGLEW -lglfw | ||
INC = -I/sw/include -I/usr/local/include -I/opt/homebrew/include | ||
LIBS = -L /opt/homebrew/lib -lGLEW -lglfw | ||
FRAMEWORKS = -framework Cocoa -framework OpenGL -framework IOKit | ||
SRC = main.cpp maths_funcs.cpp gl_utils.cpp | ||
|
||
all: | ||
${CC} ${FLAGS} ${FRAMEWORKS} -o ${BIN} ${SRC} ${LIBS} | ||
${CC} ${FLAGS} ${FRAMEWORKS} -o ${BIN} ${SRC} ${INC} ${LIBS} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
CC = clang++ | ||
FLAGS = -DAPPLE -Wall -pedantic | ||
INC = -I/sw/include -I/usr/local/include -I/usr/local/include/freetype2/ | ||
LIBS = -lGLEW -lglfw | ||
INC = -I/sw/include -I/usr/local/include -I/usr/local/include/freetype2/ -I/opt/homebrew/include -I/opt/homebrew/include/freetype2/ | ||
LIBS = -L /opt/homebrew/lib -lGLEW -lglfw | ||
FRAMEWORKS = -framework Cocoa -framework OpenGL -framework IOKit | ||
SRC = main.cpp maths_funcs.cpp | ||
|
||
all: generator viewer | ||
|
||
generator: | ||
${CC} ${FLAGS} -o generate generator_main.cpp ${INC} -lfreetype | ||
${CC} ${FLAGS} -o generate generator_main.cpp ${INC} -L /opt/homebrew/lib -lfreetype | ||
|
||
viewer: | ||
${CC} ${FLAGS} ${FRAMEWORKS} -o view viewer_main.cpp maths_funcs.cpp ${INC} ${LIBS} |
Oops, something went wrong.