view libpurple/win32/rules.mak @ 18314:7a8283c1eb75

merge of '475a8ca28dabbffcdd32005dfbc33c853b1eb7de' and 'c200e222f8c30806d0c046ea71b4f3a8a86b0f72'
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Wed, 27 Jun 2007 18:33:28 +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 $@