view libpurple/win32/rules.mak @ 19542:f77846f7d444

merge of '7fc610625ed566ff67ef3526fa27198b4bf63eeb' and 'eb69f59edf1a788a6ecf761b2958ddb31ae8d5bb'
author Daniel Atallah <daniel.atallah@gmail.com>
date Thu, 30 Aug 2007 02:28:07 +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 $@