summaryrefslogtreecommitdiff
blob: 2f5b61d770e0b4744017395445f64cbbb8fec567 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- Makefile.org	2008-07-26 16:29:47.000000000 +0200
+++ Makefile	2010-02-23 17:19:45.000000000 +0100
@@ -7,7 +7,7 @@
 ############################################################################
 
 
-CC          = cc
+CC          ?= cc
 
 #
 # ADD_CFLAGS: Add -DVI_KEYS if you want vi-cursor-keys
@@ -32,8 +32,8 @@
 COLOR       = -DCOLOR_SUPPORT 
 CLOCK	    = -DCLOCK_SUPPORT # Experimental!
 READLINE    = -DREADLINE_SUPPORT
-CFLAGS      = -D_GNU_SOURCE $(ADD_CFLAGS) $(COLOR) $(CLOCK) $(READLINE)
-LDFLAGS     = -lncurses -lreadline
+CFLAGS      += -D_GNU_SOURCE $(COLOR) $(CLOCK) $(READLINE)
+LDFLAGS     += -lncurses -lreadline
 
 ###########################
 # LINUX with Wide character support (testet with ncurses 5.4)