view libpurple/win32/rules.mak @ 16826:3123f888f328

merge of '2243863663e3841c304af2c4ab1db4fbb766eb7e' and 'a35b7ad1f08e229ee7e4a04d64c496ae33a16224'
author Stu Tomlinson <stu@nosnilmot.com>
date Thu, 03 May 2007 15:22:29 +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 $@