summaryrefslogtreecommitdiff
blob: ab64aa7d6bede30582243ecf2710bf406235b260 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- a/Makefile	2018-03-16 09:15:10.528245830 +0500
+++ b/Makefile	2018-03-21 08:52:45.984204240 +0500
@@ -40,7 +40,7 @@
 
 CC      ?=   gcc
 
-CFLAGS  =   -O3 -Wall
+CFLAGS  +=   -Wall
 
 BINDIR  =   /usr/local/bin
 
@@ -76,7 +76,7 @@
 ##############################
 
 $(NAME)	: $(OBJ)
-	$(CC) -o $(NAME) $(OBJ) $(LIBS)
+	$(CC) $(CFLAGS) $(LDFLAGS) -o $(NAME) $(OBJ) $(LIBS)
 
 .PHONY: clean