27 lines
820 B
Diff
27 lines
820 B
Diff
--- ../../build/ne/cache/ne-3.0.1/src/makefile 2015-06-21 22:02:45.000000000 +0200
|
|
+++ ./src/makefile 2016-10-27 16:56:23.602142314 +0200
|
|
@@ -81,13 +81,7 @@
|
|
NE_DEBUG=
|
|
NE_TEST=
|
|
|
|
-CC=c99
|
|
-
|
|
-ifeq ($(CC),gcc)
|
|
-GCCFLAGS=-std=c99 -Wall -Wno-parentheses
|
|
-endif
|
|
-
|
|
-CFLAGS=$(OPTS) $(GCCFLAGS) \
|
|
+CFLAGS=$(OPTS) $(CPPFLAGS) -std=c99 -Wall -Wno-parentheses \
|
|
-D_REGEX_LARGE_OFFSETS -D_GNU_SOURCE -DSTDC_HEADERS -Dinline=__inline__ \
|
|
$(if $(NE_NOWCHAR), -DNOWCHAR,) \
|
|
$(if $(NE_TEST), -DNE_TEST -coverage,) \
|
|
@@ -96,7 +90,7 @@
|
|
$(if $(NE_ANSI), -DTERMCAP -DANSI,)
|
|
|
|
|
|
-LIBS=$(if $(NE_TERMCAP)$(NE_ANSI),,-lcurses)
|
|
+LIBS=$(if $(NE_TERMCAP)$(NE_ANSI),,-lncurses)
|
|
|
|
ne: $(OBJS) $(if $(NE_TERMCAP)$(NE_ANSI),$(TERMCAPOBJS),)
|
|
$(CC) $(OPTS) $(LDFLAGS) $(if $(NE_TEST), -coverage -lefence,) $^ -lm $(LIBS) -o $(PROGRAM)
|