view libpurple/win32/rules.mak @ 26966:88c87a40a738

A patch from Gabriel Schulhof, updated to apply by Paul 'darkrain42' Aurich, which eliminates code duplication in gtkblist.c. Fixes #3553 committer: Richard Laager <rlaager@wiktel.com>
author Gabriel Schulhof <nix@go-nix.ca>
date Sat, 16 May 2009 19:06:53 +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 $@