view libpurple/win32/rules.mak @ 24242:9ebd288d7b77

merge of '1f22186ba9290bcae0deaea09d4fd38867f773e6' and '8887c6d877944752bc2756d893d9b0acc81277a8'
author Richard Laager <rlaager@wiktel.com>
date Sat, 25 Oct 2008 19:03:42 +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 $@