view libpurple/win32/rules.mak @ 18644:a5b37b3f02c6

merge of 'ba1886a94b2131f499b71e5c939807d4df199b08' and 'f4d2e27ee5bc44bb6d4d834730822b698a4dc534'
author Sean Egan <seanegan@gmail.com>
date Wed, 25 Jul 2007 21:01:21 +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 $@