view libpurple/win32/rules.mak @ 24102:23f7321b8291

merge of '7b270e8b949f20550eec69f904e57b5431a83f10' and 'f12c8903079425d7850fa183df0b3f937b2952be'
author Richard Laager <rlaager@wiktel.com>
date Thu, 11 Sep 2008 21:13:13 +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 $@