Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to compile? #3

Open
slidingboar opened this issue Dec 14, 2016 · 1 comment
Open

How to compile? #3

slidingboar opened this issue Dec 14, 2016 · 1 comment

Comments

@slidingboar
Copy link

How do I compile this with g++?

@shipof123
Copy link

if on linux, make sure you installed all of the necassary libraries
then go to the folder that you have the source at and type this into a file called Makefile
cc = g++
src = #put cpp file names here (main.cpp, game.cpp,etc..)
lib = -lSDL2 -lSDL2main -lSDL2_image (etc)
out = -o cavestory
all: $(src)
[TAB] $(cc) $(src) $(out) $(lib)
then run (w/o the $)$ make

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

No branches or pull requests

2 participants