mirror of https://github.com/0intro/wmii
Fix linking with gmake
This commit is contained in:
parent
a215076fb4
commit
d76c845a09
10
cmd/Makefile
10
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
|
||||
|
|
Loading…
Reference in New Issue