view libpurple/win32/rules.mak @ 26765:998f471bb801

merge of '04463c4228e4760066ef026178e08886db366915' and '277dbfa504b60a873008deb330ed734a384e33f5'
author Paul Aurich <paul@darkrain42.org>
date Fri, 01 May 2009 16:09:50 +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 $@