1 # Running make creates config.h then calls the sub makefiles.
4 # deps: delete the dependencies so they are regenerated on next make
5 # clean: clean all generated files
7 # localwin32.mk is an optional file to override make variables.
8 # Use localwin32.mk instead of editing variables as it is included in sub
10 # localwin32.mk to set PREFIX instead of the default C:\libs
11 # For MSYS use localwin32.mk to set CP and RM.
12 # By default this will work in a Windows command prompt.
20 -include localwin32.mk
22 # Note: && is needed after cd because each line is executed in a different
23 # shell. (cd .. is just for clarity).
24 all: check-tools config.h
25 cd tagmanager/mio && $(MAKE) -f makefile.win32 && cd ../..
26 cd tagmanager && $(MAKE) -f makefile.win32 && cd ..
27 cd scintilla && $(MAKE) -f makefile.win32 && cd ..
28 cd plugins && $(MAKE) -f makefile.win32 && cd ..
29 cd src && $(MAKE) -f makefile.win32 && cd ..
31 # first check the required tools are installed
37 config.h: win32-config.h
41 -$(RM) tagmanager/mio/deps.mak tagmanager/deps.mak scintilla/deps.mak plugins/deps.mak src/deps.mak
43 # used by src/makefile.win32 to avoid del ../file which is an error
45 -$(RM) geany_private.res geany.exe
48 cd tagmanager/mio && $(MAKE) -f makefile.win32 clean && cd ../..
49 cd tagmanager && $(MAKE) -f makefile.win32 clean && cd ..
50 cd scintilla && $(MAKE) -f makefile.win32 clean && cd ..
51 cd plugins && $(MAKE) -f makefile.win32 clean && cd ..
52 cd src && $(MAKE) -f makefile.win32 clean && cd ..