view libpurple/win32/rules.mak @ 20984:5699d5cb0028

merge of '3bee1aee40b5389caacd65f686618708d5bc65c8' and '82743a9bd82c2c23498b62d3532151dd6b5b8c77'
author Daniel Atallah <daniel.atallah@gmail.com>
date Thu, 18 Oct 2007 14:37:23 +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 $@