From d76c845a090c10f572174353214515c798c29b68 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Tue, 27 Jun 2006 20:32:59 -0400 Subject: [PATCH] Fix linking with gmake --- cmd/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cmd/Makefile b/cmd/Makefile index e14e3d98..58541b77 100644 --- a/cmd/Makefile +++ b/cmd/Makefile @@ -19,15 +19,15 @@ all: ${ALLSRC:.c=} @${CC} -c ${CFLAGS} $< ${SRC:.c=}: ${SRC:.c=.o} - @echo LD $* - @${CC} -o $* $*.o ${LDFLAGS} + @echo LD $@ + @${CC} -o $@ $@.o ${LDFLAGS} ${X11SRC:.c=}: ${X11SRC:.c=.o} - @echo LD $* - @${CC} -o $* $*.o ${X11LDFLAGS} + @echo LD $@ + @${CC} -o $@ $@.o ${X11LDFLAGS} # Solaris # @${CC} -o $* $*.o ${LDFLAGS} -lsocket clean: - rm -f ${SRC:.c=} *.o + rm -f ${ALLSRC:.c=} *.o