view libpurple/win32/rules.mak @ 27677:f3e06bdac3d1

Use mingw's <sys/time.h> to define "struct timezone" when it is new enough. hopefully this doesn't break anything (it helps cross-compiling OTR)
author Stu Tomlinson <stu@nosnilmot.com>
date Sat, 18 Jul 2009 02:32:04 +0000
parents ded8da3de5f8
children 1d6b962dea92
line wrap: on
line source

# Rules on how to make object files from various sources

%.o: %.c
	$(CC) $(CFLAGS) $(DEFINES) $(INCLUDE_PATHS) -o $@ -c $<

%.c: %.xs
	$(PERL) $(EXTUTILS)/xsubpp -typemap $(EXTUTILS)/typemap -typemap $(PURPLE_PERL_TOP)/common/typemap $< > $@

%.o: %.rc
	$(WINDRES) -I$(PURPLE_TOP) -i $< -o $@