Limeoats/cavestory-development

How to compile?

Opened this issue · 1 comments

How do I compile this with g++?

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