when run inside libisoburn, also resolve the headers from ../../libburn and ../../libisofs; when run inside gnu-xorriso all headers are resolved via ../

This commit is contained in:
George Danchev 2012-04-21 11:09:30 +00:00
parent 0a991aa61c
commit 877862304a

View File

@ -50,7 +50,7 @@ fi
# process sample code tests # process sample code tests
for SMPL in `ls "${SAMPLE_CODE_DIR}"/*.cpp`; do for SMPL in `ls "${SAMPLE_CODE_DIR}"/*.cpp`; do
# CMD_CPL="${CC} -I../ -L ../libisoburn/.libs/ ${CFLAGS} -lisoburn -o ${SMPL}.obj ${SMPL}" # CMD_CPL="${CC} -I../ -L ../libisoburn/.libs/ ${CFLAGS} -lisoburn -o ${SMPL}.obj ${SMPL}"
CMD_CPL="${CC} -c -I../ ${CFLAGS} -o ${SMPL}.obj ${SMPL}" CMD_CPL="${CC} -c -I../ -I../../libburn -I../../libisofs ${CFLAGS} -o ${SMPL}.obj ${SMPL}"
printf "${SELF}: ${CMD_CPL}" printf "${SELF}: ${CMD_CPL}"
set +e set +e
${CMD_CPL} ${CMD_CPL}