view libpurple/win32/rules.mak @ 19343:ae5c82fd7920

merge of '24c8940605f5b11b2aea17c6ca6f3094dff141ab' and 'e1e5c6d6761c5ca78ed3ba45df742983421c1082'
author Ethan Blanton <elb@pidgin.im>
date Mon, 20 Aug 2007 17:42:51 +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 $@