From 4fab15a3500bbf145dbec248ed3c72fd5854aac8 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Sun, 28 Mar 2010 11:45:44 +0000 Subject: [PATCH] 2010-03-28 13:34 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * config/rules.mk ! Added hack to make it build hbpp after latest change. Again hbpp, I couldn't find out what was the real problem, so there may be a better fix. --- harbour/ChangeLog | 6 ++++++ harbour/config/rules.mk | 12 ++++++++++++ 2 files changed, 18 insertions(+) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 460085abed..42b4b53c60 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,12 @@ past entries belonging to author(s): Viktor Szakats. */ +2010-03-28 13:34 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) + * config/rules.mk + ! Added hack to make it build hbpp after latest change. + Again hbpp, I couldn't find out what was the real problem, + so there may be a better fix. + 2010-03-28 12:14 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) - bin/postinst.bat * bin/postinst.prg diff --git a/harbour/config/rules.mk b/harbour/config/rules.mk index 062d9a2be1..816fb8bb37 100644 --- a/harbour/config/rules.mk +++ b/harbour/config/rules.mk @@ -99,9 +99,21 @@ endif %$(RES_EXT) : %.rc $(RC_RULE) +_RES := no +ifneq ($(RES_EXT),) + ifneq ($(ALL_RC_OBJS),) + _RES := yes + endif +endif + # Rule to generate an executable file from an object file. +ifeq ($(_RES),yes) %$(BIN_EXT) : %$(OBJ_EXT) %$(RES_EXT) $(LD_RULE) +else +%$(BIN_EXT) : %$(OBJ_EXT) + $(LD_RULE) +endif # Rule to generate a C file from a PRG file. %.c : $(GRANDP)%.prg