summaryrefslogtreecommitdiffstats
path: root/GNUmakefile
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2008-06-23 21:54:48 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2008-06-23 21:54:48 +0000
commite704d6aee2b9e8864589d1960ac15726bb0cd35c (patch)
treebe4a1d78a3f9f58ee244dd407d8d1be1032f5506 /GNUmakefile
parent14d7cf3878360dd47ec3e22cdf4e3d731797c9de (diff)
IRIX fixes, sort of partly work.
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 17cf030d..cc6133d2 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -1,4 +1,4 @@
-# $Id: GNUmakefile,v 1.31 2008-06-23 16:58:49 nicm Exp $
+# $Id: GNUmakefile,v 1.32 2008-06-23 21:54:48 nicm Exp $
.PHONY: clean
@@ -56,10 +56,10 @@ INSTALLMAN= install -g bin -o root -m 444
ifeq ($(shell uname),IRIX64)
INCDIRS+= -Icompat -I/usr/local/include/ncurses
SRCS+= compat/strlcpy.c compat/strtonum.c compat/daemon.c \
- compat/asprintf.c compat/fgetln.c
+ compat/asprintf.c compat/fgetln.c compat/forkpty-irix.c
CFLAGS+= -DNO_STRLCPY -DNO_STRTONUM -DNO_TREE_H -DNO_SETPROCTITLE \
-DNO_DAEMON -DNO_FORKPTY -DNO_PROGNAME -DNO_ASPRINTF -DNO_FGETLN \
- -D_SGI_SOURCE -std=c99
+ -DBROKEN_VSNPRINTF -D_SGI_SOURCE -std=c99
LDFLAGS+= -L/usr/local/lib
LIBS+= -lgen
endif
@@ -99,7 +99,7 @@ CPPFLAGS+= $(INCDIRS)
all: $(PROG)
$(PROG): $(OBJS)
- $(CC) $(LDFLAGS) $(LIBS) -o $@ $+
+ $(CC) $(LDFLAGS) -o $@ $+ $(LIBS)
depend: $(SRCS)
$(CC) $(CFLAGS) $(INCDIRS) -MM $(SRCS) > .depend