view libpurple/win32/rules.mak @ 29862:d64a0d8ff36d

merge of '22ad9aecc804e89b1101cde696e58490a7efd603' and '4c5c524129704ad1119bd51ae362bdb123bdaf75'
author Paul Aurich <paul@darkrain42.org>
date Sat, 01 May 2010 20:10:21 +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 $@