view libpurple/win32/rules.mak @ 29966:bff257656ece

Create a version of the Windows installer localizations in .desktop file format. This is the first step in transitioning the Windows installer to use the .po files for translation.
author Daniel Atallah <daniel.atallah@gmail.com>
date Mon, 17 May 2010 23:13:42 +0000
parents 1d6b962dea92
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 $@