view libpurple/win32/rules.mak @ 22873:31611d5d6a4a

merge of '8b98876f03b683ae6805d673e713f30f16b7f6e9' and 'c3fe9bf88d02997989374e7ecc80a3f2462ee462'
author Richard Laager <rlaager@wiktel.com>
date Sat, 15 Nov 2008 23:47:18 +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 $@