view libpurple/win32/rules.mak @ 16500:74daf9fc9cf3

merge of '3ee86d1e423ebfd391c26b73ae7ed1b75353d2cf' and '53e71fc52c4d4be3947b2404fe6332ae8d52dc55'
author Ethan Blanton <elb@pidgin.im>
date Fri, 27 Apr 2007 04:03:04 +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 $@