1234567891011121314151617181920 |
- #OBJS specifies which files to compile as part of the project
- OBJS = ritle.cpp Menu.cpp MenuMain.cpp DiPoint.cpp MenuExtra.cpp
- #CC is compiler
- CC = g++
- #COMPILER_FLAGS
- # -w suppresses warnings
- COMPILER_FLAGS = -w
- #LINKER_FLAGS specifies libraries we are linking against
- LINKER_FLAGS = -lSDL2 -lSDL2_image
- #OBJ_NAME specifies the name of our exectuable
- OBJ_NAME = ritle
- #This is the target that compiles our executable
- all : $(OBJS)
- $(CC) $(OBJS) $(COMPILER_FLAGS) $(LINKER_FLAGS) -o $(OBJ_NAME)
|