view libpurple/win32/rules.mak @ 26646:6559bf971fcd

merge of '79565c78f0c63b6c8f1b52e57e6e928780ce4f65' and 'a1c902f30c51b755e7c047ab91f9dae471e8d007'
author Paul Aurich <paul@darkrain42.org>
date Sun, 12 Apr 2009 23:47:43 +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 $@