From 8c65f4fab853e91f8a4c03e6f039d5a514dba565 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Fri, 21 Aug 2009 14:03:02 +0000 Subject: [PATCH] 2009-08-21 15:59 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * source/pp/Makefile ! Readded empty line after pptable rule. I couldn't find the reason why this was needed, anyhow without it the dynamic hbpp obj deletion didn't work. Which GNU Make syntax rules am I forgetting? Any hints? ; TOFIX: Another issue has shown its ugly head, here clean in hbpp shows error message from 'del' command on nt shell deleting the .exe (and .tds), despite the file is there and we're doing wildcard check too. Ideas are welcome. This worked a few days ago. --- harbour/ChangeLog | 13 +++++++++++++ harbour/source/pp/Makefile | 2 ++ 2 files changed, 15 insertions(+) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index b103a865f2..7b0fb9c51f 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,19 @@ past entries belonging to author(s): Viktor Szakats. */ +2009-08-21 15:59 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) + * source/pp/Makefile + ! Readded empty line after pptable rule. + I couldn't find the reason why this was needed, anyhow + without it the dynamic hbpp obj deletion didn't work. + Which GNU Make syntax rules am I forgetting? Any hints? + + ; TOFIX: Another issue has shown its ugly head, here clean + in hbpp shows error message from 'del' command on + nt shell deleting the .exe (and .tds), despite the + file is there and we're doing wildcard check too. + Ideas are welcome. This worked a few days ago. + 2009-08-21 15:32 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * config/instsh.mk % Fixed to use $(CP) instead of 'copy' in nt install rule. diff --git a/harbour/source/pp/Makefile b/harbour/source/pp/Makefile index b094db783a..6d0ab2991c 100644 --- a/harbour/source/pp/Makefile +++ b/harbour/source/pp/Makefile @@ -29,11 +29,13 @@ HB_VERHEADER := $(TOP)$(ROOT)include/hbverbld.h BIN_FILE := $(BIN_DIR)/hbpp$(BIN_EXT) vpath hbpp$(BIN_EXT) $(BIN_DIR) +# NOTE: Leave the extra empty line after the rules. pptable.c : hbpp$(BIN_EXT) $(HB_HOST_BIN_DIR)/hbpp$(HB_HOST_BIN_EXT) $(TOP)$(ROOT)include/hbstdgen.ch -opptable.c -q -c$(TOP)$(ROOT) -v$(HB_VERHEADER) -@$(RM) hbpp$(OBJ_EXT) $(if $(wildcard hbpp$(OBJ_DYN_POSTFIX)$(OBJ_EXT)),-@$(RM) hbpp$(OBJ_DYN_POSTFIX)$(OBJ_EXT),) + ifneq ($(HB_HOST_BUILD),lib) ifneq ($(HB_BIN_INSTALL),) INSTALL_FILES := $(BIN_DIR)/hbpp$(BIN_EXT)