summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorstefonzo <stevester.robinson@gmail.com>2022-02-06 20:47:58 -0600
committerstefonzo <stevester.robinson@gmail.com>2022-02-06 20:47:58 -0600
commit4ebd9b8cf553359ebef8c8f8b2128e7b120bb251 (patch)
treedb12692d5f36498e896c74d76323433ca28a69b3 /Makefile
initial commit
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)