view libpurple/win32/rules.mak @ 30455:e47a4a7940ea

Fix some leaks, and simplify these branches.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Fri, 23 Apr 2010 20:53:57 +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 $@