I'm attempting to compile a C project (https://github.com/AbderrSfa/cub3d), but the Makefile I believe was written for OSX (it uses the -framework command) and I'm unsure on how I can convert it to be usable on Linux. I found this post but it didn't solve my issue. This program uses AppKit (from what I've seen that's specifically for Macs) and as a result I do not know how to use the principle described in that answer for this file. So, is there a way I can properly use this with Linux? Thank you so much!
Exact Error:
gcc: error: unrecognized command-line option ‘-framework’
Where '-framework' is used
MLX = -L /usr/local/lib/ -lmlx -framework OpenGL -framework AppKit