view libpurple/win32/rules.mak @ 27945:cc45ac2782cc

propagate from branch 'im.pidgin.pidgin' (head 63eed8332804fcd21df43cd1d222794c6018b79f) to branch 'im.pidgin.pidgin.yaz' (head ab31433150baa7de9fe333c11d25488303607f08)
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Mon, 04 May 2009 16:28:11 +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 $@