view libpurple/win32/rules.mak @ 20059:dae7c3c091e0

merge of '9f5274448f45f6503b6ea291ada3c4e0e00b8c52' and 'db4583bc475b46b7cb9baa38229f12473d331870'
author Sean Egan <seanegan@gmail.com>
date Sat, 15 Sep 2007 20:35:41 +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 $@