view libgaim/win32/rules.mak @ 15063:86e334f620ca

[gaim-migrate @ 17846] Fix for C++ compilers committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Wed, 29 Nov 2006 18:05:25 +0000
parents fd45915c6988
children
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 $(GAIM_LIB_PERL_TOP)/common/typemap $< > $@

%.o: %.rc
	$(WINDRES) -I$(GAIM_LIB_TOP) -i $< -o $@