view libpurple/win32/rules.mak @ 19111:c0abe71ac1ff

Define a generic g_hash_table_find for glib < 2.4, which uses g_hash_table_foreach. We can use it elsewhere if need be.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Sat, 23 Jun 2007 02:39:28 +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 $@