view libpurple/win32/rules.mak @ 20356:b9d27d1f2e60

applied changes from e82ae16ed445d6896fec536a492fcc17bc6098e4 through 8c43566a97228a4485773ba622f9695b325af8ae
author Luke Schierer <lschiere@pidgin.im>
date Sun, 21 Oct 2007 04:56: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 $@