Fix Color Schemes menu items activation when used with libdbusmenu.
[geany-mirror.git] / makefile.win32
blob490a52b018fd5ad104583aa0770dd1213feaba9c
1 # Running make creates config.h then calls the sub makefiles.
3 # Other targets are:
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
9 # makefiles.
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.
14 WINDRES = windres.exe
15 CC = gcc
16 CXX = g++
17 CP = copy
18 RM = del
19 MAKE = make
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: 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 config.h: win32-config.h
32         $(CP) $< $@
34 deps:
35         -$(RM) tagmanager/mio/deps.mak tagmanager/deps.mak scintilla/deps.mak plugins/deps.mak src/deps.mak
37 # used by src/makefile.win32 to avoid del ../file which is an error
38 clean-local:
39         -$(RM) geany_private.res geany.exe
41 clean: deps
42         cd tagmanager/mio && $(MAKE) -f makefile.win32 clean && cd ../..
43         cd tagmanager && $(MAKE) -f makefile.win32 clean && cd ..
44         cd scintilla && $(MAKE) -f makefile.win32 clean && cd ..
45         cd plugins && $(MAKE) -f makefile.win32 clean && cd ..
46         cd src && $(MAKE) -f makefile.win32 clean && cd ..