view libpurple/win32/rules.mak @ 21924:e9005670e279

merge of 'f6430c7013d08f95c60248eeb22c752a0107499b' and 'f84b5a4f3cdf2a2a92ff24e79e6aa6c2e0c8c1aa'
author Etan Reisner <pidgin@unreliablesource.net>
date Sat, 22 Dec 2007 23:18:08 +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 $@