mirror of
git://git.suckless.org/dmenu
synced 2024-12-24 15:52:52 +00:00
fixed makefile
This commit is contained in:
parent
2ec16d9cb2
commit
8f7b62e2b6
10
Makefile
10
Makefile
@ -6,7 +6,7 @@ include config.mk
|
||||
SRC = dinput.c dmenu.c draw.c
|
||||
OBJ = ${SRC:.c=.o}
|
||||
|
||||
all: options draw.o dinput dmenu
|
||||
all: options dinput dmenu
|
||||
|
||||
options:
|
||||
@echo dmenu build options:
|
||||
@ -24,9 +24,13 @@ config.h:
|
||||
@echo creating $@ from config.def.h
|
||||
@cp config.def.h $@
|
||||
|
||||
.o:
|
||||
dinput: dinput.o draw.o
|
||||
@echo CC -o $@
|
||||
@${CC} -o $@ $< draw.o ${LDFLAGS}
|
||||
@${CC} -o $@ $+ ${LDFLAGS}
|
||||
|
||||
dmenu: dmenu.o draw.o
|
||||
@echo CC -o $@
|
||||
@${CC} -o $@ $+ ${LDFLAGS}
|
||||
|
||||
clean:
|
||||
@echo cleaning
|
||||
|
Loading…
Reference in New Issue
Block a user