view libpurple/win32/rules.mak @ 20762:da25e749450a

merge of '6f133a093581cd9a632ca6d0ce110d180e582714' and 'cbd891d4cc489df2ea1b945a7310c78445688f40'
author Luke Schierer <lschiere@pidgin.im>
date Wed, 03 Oct 2007 04:02:18 +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 $@