view libpurple/win32/rules.mak @ 19613:2d4c626f60c1

merge of '643feb3e5eefda54d6456d7a5a35201a356954e2' and 'bbcde83d2bd94491bc5eac1f2eabfdf9dcbdc159'
author Mark Doliner <mark@kingant.net>
date Mon, 03 Sep 2007 18:47:15 +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 $@