posix makefile
This commit is contained in:
parent
6c22173148
commit
b0f9f87bb1
|
@ -12,15 +12,16 @@ options:
|
||||||
@echo "CC = ${CC}"
|
@echo "CC = ${CC}"
|
||||||
|
|
||||||
dmenu: dmenu.o draw.o
|
dmenu: dmenu.o draw.o
|
||||||
dmenu_path: dmenu_path.o
|
@echo CC -o $@
|
||||||
|
@${CC} -o $@ dmenu.o draw.o ${LDFLAGS}
|
||||||
|
|
||||||
.c.o: config.mk
|
.c.o: config.mk
|
||||||
@echo CC -c $<
|
@echo CC -c $<
|
||||||
@${CC} -c $< ${CFLAGS}
|
@${CC} -c $< ${CFLAGS}
|
||||||
|
|
||||||
dmenu dmenu_path:
|
.o:
|
||||||
@echo CC -o $@
|
@echo CC -o $@
|
||||||
@${CC} -o $@ $+ ${LDFLAGS}
|
@${CC} -o $@ $< ${LDFLAGS}
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
@echo cleaning
|
@echo cleaning
|
||||||
|
|
Loading…
Reference in New Issue
Block a user