OBJS = main.cpp simple.cpp CC = g++ COMPILER_FLAGS = -w -I/usr/local/include/SDL2/SDL_ttf.h LINKER_FLAGS = -lSDL2 -lSDL2_ttf -lSDL2_image OBJ_NAME = simple_test all: $(OBJS) $(CC) $(OBJS) $(COMPILER_FLAGS) $(LINKER_FLAGS) -o $(OBJ_NAME)