view libpurple/win32/rules.mak @ 22608:ae436d5e42d5

merge of '7477b26751dbf08e918a1f300fbd2697dd0c6369' and '911e3a3a992368fcb0a43a90238092e27a92c581'
author Etan Reisner <pidgin@unreliablesource.net>
date Fri, 04 Apr 2008 02:45:33 +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 $@