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.
18 GEANY_SRC = c:\geany_svn
21 -include localwin32.mk
27 -I$(GEANY_SRC)\plugins \
28 -I$(GEANY_SRC)\tagmanager\include \
29 -I$(GEANY_SRC)\scintilla\include \
30 -I$(PREFIX)/include/gtk-2.0 \
31 -I$(PREFIX)/lib/gtk-2.0/include \
32 -I$(PREFIX)/include/atk-1.0 \
33 -I$(PREFIX)/include/pango-1.0 \
34 -I$(PREFIX)/include/cairo \
35 -I$(PREFIX)/include/glib-2.0 \
36 -I$(PREFIX)/lib/glib-2.0/include \
37 -I$(PREFIX)/include/gettext \
41 -lgtk-win32-2.0 -lgdk-win32-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32 \
42 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl -liconv
43 CCFLAGS=-Wall -O2 -mms-bitfields -DHAVE_CONFIG_H
49 $(CC) -MM $(CCFLAGS) $(INCLUDEDIRS) *.c >deps.mak
52 $(CC) $(CCFLAGS) $(INCLUDEDIRS) -c $<
54 $(TARGET): $(OBJS) deps.mak
55 $(CC) -shared $(OBJS) $(ALL_GTK_LIBS) -o $(TARGET)
58 -$(RM) deps.mak *.o *.dll
60 # Generate header dependencies with "make deps.mak"