view libpurple/win32/rules.mak @ 25214:91a021ffca9c

propagate from branch 'im.pidgin.pidgin' (head 3712dc87ef9c46da0dc5283a8d5a571d9a90d340) to branch 'im.pidgin.cpw.malu.xmpp.attention' (head d53e9d53435ff2dbc7db91129ed8ab158c1459e4)
author Marcus Lundblad <ml@update.uu.se>
date Mon, 20 Oct 2008 18:30:28 +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 $@