view libpurple/win32/rules.mak @ 17916:d125c3562280

In msim_tooltip_text, do not try to display items with no value. In Linux, "%s" on a null pointer is formatted as "(null)", but on Windows this leads to a crash. Closes #1999.
author Jeffrey Connelly <jaconnel@calpoly.edu>
date Sun, 01 Jul 2007 23:33:27 +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 $@