diff --git a/Makefile b/Makefile
index 515b96d..a6e29a2 100644
--- a/Makefile
+++ b/Makefile
@@ -6,13 +6,10 @@
 #	Last Modified: 2019/03/19
 #==========================================
 
-CC=gcc
-CFLAGS=-O3 -Wall
-
 all: sl
 
 sl: sl.c sl.h
-	$(CC) $(CFLAGS) -o sl sl.c -lncurses
+	$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o sl sl.c -lncurses
 
 clean:
 	rm -f sl
