Mercurial > pidgin
view libpurple/win32/rules.mak @ 29586:1d6b962dea92
Use ExtUtils::ParseXS instead of the xsubpp script to generate C source for XS files on Windows (avoids us needing to know where Perl is installed)
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Fri, 12 Mar 2010 22:00:00 +0000 |
parents | ded8da3de5f8 |
children | 62f0988c666c |
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) -MExtUtils::ParseXS -e 'ExtUtils::ParseXS::process_file(filename => "$<", output => "$@", typemap => "$(PURPLE_PERL_TOP)/common/typemap");' %.o: %.rc $(WINDRES) -I$(PURPLE_TOP) -i $< -o $@