Commit | Line | Data |
---|---|---|
410cfc86 DM |
1 | --- ../../build/ne/cache/ne-3.0.1/src/makefile 2015-06-21 22:02:45.000000000 +0200 |
2 | +++ ./src/makefile 2016-10-27 16:56:23.602142314 +0200 | |
3 | @@ -81,13 +81,7 @@ | |
4 | NE_DEBUG= | |
5 | NE_TEST= | |
6 | ||
7 | -CC=c99 | |
8 | - | |
9 | -ifeq ($(CC),gcc) | |
10 | -GCCFLAGS=-std=c99 -Wall -Wno-parentheses | |
11 | -endif | |
12 | - | |
13 | -CFLAGS=$(OPTS) $(GCCFLAGS) \ | |
14 | +CFLAGS=$(OPTS) $(CPPFLAGS) -std=c99 -Wall -Wno-parentheses \ | |
15 | -D_REGEX_LARGE_OFFSETS -D_GNU_SOURCE -DSTDC_HEADERS -Dinline=__inline__ \ | |
16 | $(if $(NE_NOWCHAR), -DNOWCHAR,) \ | |
17 | $(if $(NE_TEST), -DNE_TEST -coverage,) \ | |
18 | @@ -96,7 +90,7 @@ | |
19 | $(if $(NE_ANSI), -DTERMCAP -DANSI,) | |
20 | ||
21 | ||
22 | -LIBS=$(if $(NE_TERMCAP)$(NE_ANSI),,-lcurses) | |
23 | +LIBS=$(if $(NE_TERMCAP)$(NE_ANSI),,-lncurses) | |
24 | ||
25 | ne: $(OBJS) $(if $(NE_TERMCAP)$(NE_ANSI),$(TERMCAPOBJS),) | |
26 | $(CC) $(OPTS) $(LDFLAGS) $(if $(NE_TEST), -coverage -lefence,) $^ -lm $(LIBS) -o $(PROGRAM) |