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
23 $(MAKE) -C tagmanager/mio -f makefile.win32
24 $(MAKE) -C tagmanager -f makefile.win32
25 $(MAKE) -C scintilla -f makefile.win32
26 $(MAKE) -C plugins -f makefile.win32
27 $(MAKE) -C src -f makefile.win32
29 config.h: win32-config.h
33 -$(RM) tagmanager/mio/deps.mak tagmanager/deps.mak scintilla/deps.mak plugins/deps.mak src/deps.mak
35 # used by src/makefile.win32 to avoid del ../file which is an error
37 -$(RM) geany_private.res geany.exe
40 $(MAKE) -C tagmanager/mio -f makefile.win32 clean
41 $(MAKE) -C tagmanager -f makefile.win32 clean
42 $(MAKE) -C scintilla -f makefile.win32 clean
43 $(MAKE) -C plugins -f makefile.win32 clean
44 $(MAKE) -C src -f makefile.win32 clean
47 DESTDIR='C:/Program Files/Geany'
49 # requires admin privileges and MSYS
52 cp plugins/*.dll $(DESTDIR)/lib
53 cp geany.exe $(DESTDIR)/bin