view libpurple/win32/rules.mak @ 24969:08a2a4029f20

Fix a segfault when deleting an account without an associated prpl. Reported by adi1 in #pidgin. Fixes #8180.
author Paul Aurich <paul@darkrain42.org>
date Tue, 20 Jan 2009 02:33:43 +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 $@