Skip to content

Commit

Permalink
makefiles with INC for macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton Gerdelan authored and Anton Gerdelan committed Aug 20, 2024
1 parent feb89f7 commit cabf671
Show file tree
Hide file tree
Showing 16 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion 01_extended_init/Makefile.osx
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ 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}

2 changes: 1 addition & 1 deletion 02_shaders/Makefile.osx
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ 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}

2 changes: 1 addition & 1 deletion 03_vertex_buffer_objects/Makefile.osx
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ 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}
2 changes: 1 addition & 1 deletion 04_mats_and_vecs/Makefile.osx
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ 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}

2 changes: 1 addition & 1 deletion 05_virtual_camera/Makefile.osx
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ 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}

2 changes: 1 addition & 1 deletion 06_vcam_with_quaternion/Makefile.osx
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ 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}

2 changes: 1 addition & 1 deletion 07_ray_picking/Makefile.osx
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ 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}

2 changes: 1 addition & 1 deletion 08_phong/Makefile.osx
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ 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}

2 changes: 1 addition & 1 deletion 09_texture_mapping/Makefile.osx
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ 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}

2 changes: 1 addition & 1 deletion 10_screen_capture/Makefile.osx
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ 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}

2 changes: 1 addition & 1 deletion 11_video_capture/Makefile.osx
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ 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}

2 changes: 1 addition & 1 deletion 12_debugging_shaders/Makefile.osx
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ 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}

2 changes: 1 addition & 1 deletion 14_multi_tex/Makefile.osx
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ 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}

2 changes: 1 addition & 1 deletion 16_frag_reject/Makefile.osx
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ 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}

2 changes: 1 addition & 1 deletion 17_alpha_blending/Makefile.osx
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ 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}

2 changes: 1 addition & 1 deletion 18_spotlights/Makefile.osx
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ 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}

0 comments on commit cabf671

Please sign in to comment.