view libpurple/win32/rules.mak @ 27130:27ccab320d8a

merge of '3eceaa6c40cc71435a27e3175ed313c342e01062' and 'c586c7c63e038d187f56cc31c55b1e09dec584d2'
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Sat, 20 Jun 2009 21:44:23 +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 $@