view libpurple/win32/rules.mak @ 22105:32992e2526e4

More of ticket #1344 from o_sukhodolsky, which rlaager has been committing pieces of. This silences an error about ignoring the return value from the 'write' system call. References #1344. References #4643.
author Mark Doliner <mark@kingant.net>
date Mon, 14 Jan 2008 06:32:16 +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 $@