view libpurple/win32/rules.mak @ 23629:ad68d734205a

merge of '1036d6fc1c09bf3b42c737dab42d188245f16b17' and '5f56f1df972a614a4e7186caa3dafa35b4b77ab1'
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Fri, 01 Aug 2008 05:16:39 +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 $@