Branch: refs/heads/master Author: Dimitar Zhekov dimitar.zhekov@gmail.com Committer: Nick Treleaven nick.treleaven@btinternet.com Date: Tue, 26 Jun 2012 20:39:56 Commit: 08d751daf206d606176bae9cc8cd216f00a1e662 https://github.com/geany/geany/commit/08d751daf206d606176bae9cc8cd216f00a1e6...
Log Message: ----------- Fix building with makefile.win32 from Windows command prompt, not MSYS
Modified Paths: -------------- makefile.win32 src/makefile.win32
Modified: makefile.win32 26 files changed, 12 insertions(+), 14 deletions(-) =================================================================== @@ -14,19 +14,17 @@ WINDRES = windres.exe CC = gcc CXX = g++ -CP = copy +CP = copy /Y RM = del -MAKE = make +MAKE = mingw32-make -include localwin32.mk
-# Note: && is needed after cd because each line is executed in a different -# shell. (cd .. is just for clarity). all: config.h - cd tagmanager/mio && $(MAKE) -f makefile.win32 && cd ../.. - cd tagmanager && $(MAKE) -f makefile.win32 && cd .. - cd scintilla && $(MAKE) -f makefile.win32 && cd .. - cd plugins && $(MAKE) -f makefile.win32 && cd .. - cd src && $(MAKE) -f makefile.win32 && cd .. + $(MAKE) -C tagmanager/mio -f makefile.win32 + $(MAKE) -C tagmanager -f makefile.win32 + $(MAKE) -C scintilla -f makefile.win32 + $(MAKE) -C plugins -f makefile.win32 + $(MAKE) -C src -f makefile.win32
config.h: win32-config.h $(CP) $< $@ @@ -39,11 +37,11 @@ clean-local: -$(RM) geany_private.res geany.exe
clean: deps - cd tagmanager/mio && $(MAKE) -f makefile.win32 clean && cd ../.. - cd tagmanager && $(MAKE) -f makefile.win32 clean && cd .. - cd scintilla && $(MAKE) -f makefile.win32 clean && cd .. - cd plugins && $(MAKE) -f makefile.win32 clean && cd .. - cd src && $(MAKE) -f makefile.win32 clean && cd .. + $(MAKE) -C tagmanager/mio -f makefile.win32 clean + $(MAKE) -C tagmanager -f makefile.win32 clean + $(MAKE) -C scintilla -f makefile.win32 clean + $(MAKE) -C plugins -f makefile.win32 clean + $(MAKE) -C src -f makefile.win32 clean
.PHONY: install DESTDIR='C:/Program Files/Geany'
Modified: src/makefile.win32 10 files changed, 5 insertions(+), 5 deletions(-) =================================================================== @@ -77,7 +77,7 @@ $(RES): ../geany_private.rc ../icons/geany.ico # this calls parent clean-local target because del ../file won't work clean: -$(RM) deps.mak *.o - cd .. && $(MAKE) -f makefile.win32 clean-local && cd src + $(MAKE) -C .. -f makefile.win32 clean-local
exec: $(EXECDIR)\geany.exe @@ -85,10 +85,10 @@ exec: binclean: $(RM) $(TARGET)
-$(TARGET): $(OBJS) $(RES) ../scintilla/scintilla.a ../tagmanager/mio/mio.a ../tagmanager/tagmanager.a - $(CXX) $(OBJS) $(RES) -o $(TARGET) \ - ../scintilla/scintilla.a ../tagmanager/tagmanager.a ../tagmanager/mio/mio.a \ - $(ALL_GTK_LIBS) $(WIN_LIBS) +STLIBS = ../scintilla/scintilla.a ../tagmanager/tagmanager.a ../tagmanager/mio/mio.a + +$(TARGET): $(OBJS) $(RES) $(STLIBS) + $(CXX) $(OBJS) $(RES) -o $(TARGET) $(STLIBS) $(ALL_GTK_LIBS) $(WIN_LIBS)
deps.mak: $(CC) -MM $(CFLAGS) *.c >deps.mak
@@ Diff output truncated at 100000 characters. @@
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: TBD).