21 lines
653 B
Text
21 lines
653 B
Text
$NetBSD: patch-at,v 1.2 2005/05/29 14:38:33 wiz Exp $
|
|
|
|
--- progs/gluadmin/Makefile.orig 1996-12-07 01:19:00.000000000 +0100
|
|
+++ progs/gluadmin/Makefile
|
|
@@ -1,6 +1,6 @@
|
|
TARGET = gluadmin
|
|
SRCS = gluadmin.c
|
|
-LIBS = -lglunix -lsocket -lnsl
|
|
+LIBS = -lglunix
|
|
|
|
BINS = $(TARGET)
|
|
MANPAGES = $(addsuffix .1,$(BINS))
|
|
@@ -15,7 +15,7 @@ all: $(TARGET)
|
|
|
|
# note that the use of -R makes the use of LD_LIBRARY_PATH unnecessary...
|
|
$(TARGET): $(SRCS)
|
|
- gcc $(CFLAGS) -o $(TARGET) $(SRCS) $(RLIBPATH) $(LLIBPATH) $(INCPATH) $(LIBS)
|
|
+ g++ $(CFLAGS) -o $(TARGET) $(SRCS) $(RLIBPATH) $(LLIBPATH) $(INCPATH) $(LIBS)
|
|
|
|
clean:
|
|
rm -f $(BINS) core *~ *.o
|