view libpurple/win32/rules.mak @ 21223:d604027959a5

merge of '87d5331b62c3e62aaacddc0fe0a8c3f0787cda2b' and 'd06c9d5a05c154d236601f6380dbfd9bb299c30a'
author Richard Laager <rlaager@wiktel.com>
date Fri, 12 Oct 2007 03:32:17 +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 $@