1 diff -u -r ../ne-3.1.0/src/makefile ./src/makefile
2 --- ../ne-3.1.0/src/makefile 2017-04-04 12:35:59.000000000 +0200
3 +++ ./src/makefile 2017-05-04 23:26:27.136260906 +0200
5 # where ne tries to read system-wide information (configuration
8 -NE_GLOBAL_DIR = /usr/local/share/ne
9 +NE_GLOBAL_DIR = $(PREFIX)/share/ne
21 GCCFLAGS=-std=c99 -Wall -Wno-parentheses
24 CFLAGS=$(OPTS) $(GCCFLAGS) \
26 -D_REGEX_LARGE_OFFSETS -D_GNU_SOURCE -DSTDC_HEADERS -Dinline=__inline__ \
27 $(if $(NE_NOWCHAR), -DNOWCHAR,) \
28 $(if $(NE_TEST), -DNE_TEST -coverage,) \
30 $(if $(NE_ANSI), -DTERMCAP -DANSI,)
33 -LIBS=$(if $(NE_TERMCAP)$(NE_ANSI),,-lcurses)
34 +LIBS=$(if $(NE_TERMCAP)$(NE_ANSI),,-lncurses)
36 ne: $(OBJS) $(if $(NE_TERMCAP)$(NE_ANSI),$(TERMCAPOBJS),)
37 $(CC) $(OPTS) $(LDFLAGS) $(if $(NE_TEST), -coverage -lefence,) $^ -lm $(LIBS) -o $(PROGRAM)