Skip to content

Add linux profile to Makefile#3

Open
Naught00 wants to merge 1 commit intojdah:mainfrom
Naught00:main
Open

Add linux profile to Makefile#3
Naught00 wants to merge 1 commit intojdah:mainfrom
Naught00:main

Conversation

@Naught00
Copy link

@Naught00 Naught00 commented Mar 5, 2023

closes #1 closes #2

@jdah
Copy link
Owner

jdah commented Mar 10, 2023

thanks for the PR! I cleaned this up a bit and threw it in da2fb2c - can you confirm that it works? I don't have a linux box to test on.

@Naught00
Copy link
Author

Naught00 commented Mar 10, 2023

It did not work.

The Makefile uses clang options like -fbracket-depth= which do not work on gcc. SDL.h is in /usr/include/SDL2 on linux. I changed those in the new commit.

@BCullen2201
Copy link

@Naught00 Just tested your changes on Linux Mint 21.1. It builds and runs perfectly except for one warning which can be fixed by changing -Wno-gnu-pointer-arith to -Wno-pointer-arith

@goblinrieur
Copy link

hello Just had same issue with same solution fix
so I changed SDL.h path and options from make file
then run sucessfully bin/doom from debian 12 distro

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

This is a mess to compile on Linux. How do I compile using the Makefile?

4 participants