mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-26 21:26:03 +01:00
Updated Makefile
Thanks to Sebastinas
This commit is contained in:
parent
eae4e48877
commit
f3218c2d68
1 changed files with 8 additions and 2 deletions
10
Makefile
10
Makefile
|
@ -28,8 +28,14 @@ options:
|
|||
${OBJECTS}: config.h config.mk
|
||||
${DOBJECTS}: config.h config.mk
|
||||
|
||||
config.h:
|
||||
@cp config.def.h $@
|
||||
config.h: config.def.h
|
||||
@if [ -f $@ ] ; then \
|
||||
echo "config.h exists, but config.def.h is newer. Please check your" \
|
||||
"config.h or ${PROJECT} might fail to build." ; \
|
||||
else \
|
||||
cp -p $< $@ ; \
|
||||
touch $@ ; \
|
||||
fi
|
||||
|
||||
${PROJECT}: ${OBJECTS}
|
||||
@echo CC -o $@
|
||||
|
|
Loading…
Reference in a new issue