2006-07-28 12:29:10 +00:00
|
|
|
|
|
|
|
.SUFFIXES: .cxx .c .o .h .a
|
|
|
|
CC = gcc
|
|
|
|
AR = ar
|
|
|
|
RANLIB = ranlib
|
|
|
|
PREFIX = C:\libs
|
|
|
|
RM = del
|
|
|
|
-include ../localwin32.mk
|
|
|
|
|
|
|
|
COMPLIB=tagmanager.a
|
|
|
|
|
|
|
|
GTK_INCLUDES= \
|
|
|
|
-I$(PREFIX)/include/gtk-2.0 \
|
|
|
|
-I$(PREFIX)/lib/gtk-2.0/include \
|
|
|
|
-I$(PREFIX)/include/atk-1.0 \
|
|
|
|
-I$(PREFIX)/include/pango-1.0 \
|
|
|
|
-I$(PREFIX)/include/cairo \
|
|
|
|
-I$(PREFIX)/include/glib-2.0 \
|
|
|
|
-I$(PREFIX)/lib/glib-2.0/include \
|
|
|
|
-I$(PREFIX)/include/gettext \
|
|
|
|
-I$(PREFIX)/include
|
|
|
|
|
|
|
|
INCLUDEDIRS=-I include $(GTK_INCLUDES)
|
|
|
|
|
|
|
|
CCFLAGS=-g -Wall -DPACKAGE=\"geany\" -DG_OS_WIN32 -Wno-missing-braces -Wno-char-subscripts $(INCLUDEDIRS) -mms-bitfields
|
|
|
|
|
|
|
|
.c.o:
|
|
|
|
$(CC) $(CCFLAGS) -w -c $<
|
|
|
|
|
|
|
|
all: $(COMPLIB)
|
|
|
|
|
|
|
|
clean:
|
2006-09-22 12:09:53 +00:00
|
|
|
-$(RM) deps.mak *.o $(COMPLIB)
|
2006-07-28 12:29:10 +00:00
|
|
|
|
2006-10-11 19:45:40 +00:00
|
|
|
$(COMPLIB): args.o c.o fortran.o make.o conf.o pascal.o perl.o php.o diff.o \
|
2006-07-28 12:29:10 +00:00
|
|
|
python.o regex.o sh.o ctags.o entry.o get.o keyword.o options.o parse.o \
|
|
|
|
read.o sort.o strlist.o latex.o docbook.o tcl.o ruby.o asm.o sql.o css.o vstring.o tm_workspace.o tm_work_object.o \
|
|
|
|
tm_source_file.o tm_project.o tm_tag.o tm_symbol.o tm_file_entry.o \
|
|
|
|
tm_tagmanager.o
|
|
|
|
$(AR) rc $@ $^
|
|
|
|
$(RANLIB) $@
|
|
|
|
|
|
|
|
deps.mak:
|
|
|
|
$(CC) -MM $(CCFLAGS) *.c >deps.mak
|
|
|
|
|
|
|
|
# Generate header dependencies with "make deps.mak"
|
|
|
|
include deps.mak
|