blob: 0f9bb3c2cdffddfa73573c4c33a528b789d17d1d (
plain)
1
2
3
4
5
6
7
|
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)
|