view libpurple/win32/rules.mak @ 20081:2fefc7eaa36f

merge of '22f6ff41c9fffdd5267c9c96f8208a6071443e62' and '9a8e007dbbbdee9fe816195d04b6372d67f4450b'
author Richard Laager <rlaager@wiktel.com>
date Sat, 15 Sep 2007 23:49:13 +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 $@