view libpurple/win32/rules.mak @ 19106:062bb6a591ff

merge of 'c80d121e4fd54ef1ba9c1ce9e4afa059f6b777e9' and 'd07595d436b95a0c21e8e5e26ffdf6c37af63915'
author Eric Polino <aluink@pidgin.im>
date Tue, 19 Jun 2007 14:32:23 +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 $@