view libpurple/win32/rules.mak @ 24271:f498f5a5f501

This fixes a link error when linking with GNU ld and specifying the --as-needed flag to ld. Fixes #7391. committer: John Bailey <rekkanoryo@rekkanoryo.org>
author Diego Pettenò <flameeyes@gentoo.org>
date Thu, 30 Oct 2008 02:41:45 +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 $@