view libpurple/win32/rules.mak @ 22766:84877c54098b

merge of '0a7f4849f49b45459231087fa690ba9937eae03c' and '2f8316df13d1c3e6bf66b91c28abe1504033dae8'
author Evan Schoenberg <evan.s@dreskin.net>
date Tue, 29 Apr 2008 02:01:43 +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 $@