view libpurple/win32/rules.mak @ 24224:79622b2b0c3b

merge of 'c65b8e669e142607d030dfb83caf2d344faa8dbe' and 'ea6a9e8df0615d1dfebf9cf3cf547a62814c6089'
author John Bailey <rekkanoryo@rekkanoryo.org>
date Tue, 21 Oct 2008 01:33:54 +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 $@