view libpurple/win32/rules.mak @ 21397:521df9b2698a

Work around a bug in vim's bracket matching, whereby it doesn't realise that only one branch of an #ifdef applies and claims that every subsequent bracket in the entire file is unbalanced.
author Will Thompson <will.thompson@collabora.co.uk>
date Sat, 03 Nov 2007 12:17:06 +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 $@