view libpurple/win32/rules.mak @ 20345:9acf4a2ef166

applied changes from e9e74094baa29c6f5589385507221a2502b817fb through ca09db83bd2ae802d4a6d7078a1efdfe9a896cb5
author Luke Schierer <lschiere@pidgin.im>
date Sun, 21 Oct 2007 04:42:58 +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 $@