fix Makefile for lazarus resource compilation

git-svn-id: trunk@7433 -
This commit is contained in:
micha 2005-07-27 09:06:38 +00:00
parent a7a56428a9
commit 10eba46e4c

View File

@ -2801,7 +2801,7 @@ $(COMPILER_TARGETDIR):
$(COMPILER) $<
$(EXECPPAS)
%.res: %.rc
windres -i $< -o $@
windres -I ide -i $< -o $@
vpath %.pp $(COMPILER_SOURCEDIR) $(COMPILER_INCLUDEDIR)
vpath %.pas $(COMPILER_SOURCEDIR) $(COMPILER_INCLUDEDIR)
vpath %.lpr $(COMPILER_SOURCEDIR) $(COMPILER_INCLUDEDIR)
@ -3837,10 +3837,10 @@ endif
.PHONY: lcl components packager/registration ideintf packager ide idepkg starter tools all clean cleanide purge
.SUFFIXES: .rc .res
%.res: %.rc
windres -i $< -o $@ --preprocessor $(RCPP)
windres -I ide -i $< -o $@ --preprocessor $(RCPP)
ide: $(COMPILER_UNITTARGETDIR)
ifeq ($(OS_TARGET), win32)
$(MAKE) lazarus.res
$(MAKE) ide/lazarus.res
endif
ifeq ($(LAZARUS_OPT),)
$(MAKE) --assume-new=ide/lazarus.pp ide/lazarus$(EXEEXT)
@ -3851,7 +3851,7 @@ idepkg: $(COMPILER_UNITTARGETDIR)
$(MAKE) --assume-new=ide/lazarus.pp ide/lazarus$(EXEEXT) OPT='$(LAZARUS_OPT) $(OPT) @$(LAZARUS_IDE_CONFIG)'
starter: $(COMPILER_UNITTARGETDIR)
ifeq ($(OS_TARGET), win32)
$(MAKE) startlazarus.res
$(MAKE) ide/startlazarus.res
endif
ifeq ($(LAZARUS_OPT),)
$(MAKE) --assume-new=ide/startlazarus.lpr ide/startlazarus$(EXEEXT)