view libpurple/win32/rules.mak @ 19634:0b8740878f9e

merge of '6be8a7c0f691862b61f30ddae359111b8302573e' and '7a1f615815915b5127b6ce5befcc5c3ff6b2806e'
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Tue, 04 Sep 2007 05:44:21 +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 $@