view libpurple/win32/rules.mak @ 16444:eb36a10796d7

merge of 'bc433d038b1fddbbe4f2a9141421831c5cdf72ac' and 'e199d070eeeaca938b92484fa37be3beb0560526'
author Evan Schoenberg <evan.s@dreskin.net>
date Thu, 26 Apr 2007 12:26:33 +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 $@