Fix build of prepackaged sources

if 3rdparty directory is not there, do not attempt to copy from it
This commit is contained in:
Thomas Bernard 2020-02-01 14:42:15 +01:00
parent c6460cf939
commit 89554b59f7
No known key found for this signature in database
GPG Key ID: 0FF11B67A5C0863C

View File

@ -1169,8 +1169,8 @@ endif
6502.h: 6502.c
6502.c: ../3rdparty/6502/sources/6502.c
$(CP) $< $@
$(CP) ../3rdparty/6502/API/emulation/CPU/6502.h 6502.h
if [ -f $< ] ; then $(CP) $< $@ ; fi
if [ -f ../3rdparty/6502/API/emulation/CPU/6502.h ] ; then $(CP) ../3rdparty/6502/API/emulation/CPU/6502.h 6502.h ; fi
../3rdparty/6502/sources/6502.c:
if [ -d ../3rdparty ] ; then $(MAKE) -C ../3rdparty 6502 ; fi