view libpurple/win32/rules.mak @ 16529:ff7a7fe88049

merge of '66dbfed4928f15efc83fab8cd71b27c9ee2670f6' and 'db5f4be77a5427a5c673de8b2d6babfff06b3f9d'
author Richard Laager <rlaager@wiktel.com>
date Fri, 27 Apr 2007 14:37:15 +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 $@