view libpurple/win32/rules.mak @ 18145:b2438a35c5f7

merge of '86936c1215d2a20fa7f31db4a460494f112b0b6a' and 'ad0ef0d110ad7358d259add59b0dcf24291794db'
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Sun, 17 Jun 2007 03:00:13 +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 $@