view libpurple/win32/rules.mak @ 22928:4fa01df51fec

merge of '657be692e8fe314ef25624dc2b70d25e1cf8085b' and 'f34420097faff83cee26133ba8bd05198e56db0a'
author Daniel Atallah <daniel.atallah@gmail.com>
date Tue, 13 May 2008 18:56:11 +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 $@