summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..0f9bb3c
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,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)