Fix linking with gmake

This commit is contained in:
Kris Maglione 2006-06-27 20:32:59 -04:00
parent a215076fb4
commit d76c845a09
1 changed files with 5 additions and 5 deletions

View File

@ -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