view libpurple/win32/rules.mak @ 17651:79ecaab86f91

Eliminate some type punning warnings in proxy.c. This was inspired by a patch from o_sukhodolsky. He added a second variable and cast p to char *. I instead opted to make p a char *, which I think is more clear, and it eliminates more casts than it adds.
author Richard Laager <rlaager@wiktel.com>
date Sat, 02 Jun 2007 06:26:24 +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 $@