sample/Makefile.am in rice-2.2.0 vs sample/Makefile.am in rice-3.0.0
- old
+ new
@@ -8,37 +8,43 @@
map/extconf.rb \
map/map.cpp \
map/test.rb \
inheritance/extconf.rb \
inheritance/animals.cpp \
- inheritance/test.rb
+ inheritance/test.rb \
+ callbacks/extconf.rb \
+ callbacks/sample_callbacks.cpp \
+ callbacks/test.rb
enum/Makefile: enum/extconf.rb ../config.status ../ruby/lib/mkmf-rice.rb
@RUBY@ $(RUBY_EXTCONF_OPTIONS) -C enum extconf.rb $(EXTCONF_OPTIONS)
map/Makefile: map/extconf.rb ../config.status ../ruby/lib/mkmf-rice.rb
@RUBY@ $(RUBY_EXTCONF_OPTIONS) -C map extconf.rb $(EXTCONF_OPTIONS)
inheritance/Makefile: inheritance/extconf.rb ../config.status ../ruby/lib/mkmf-rice.rb
@RUBY@ $(RUBY_EXTCONF_OPTIONS) -C inheritance extconf.rb $(EXTCONF_OPTIONS)
-all: enum/Makefile map/Makefile inheritance/Makefile all_extensions
+callbacks/Makefile: callbacks/extconf.rb ../config.status ../ruby/lib/mkmf-rice.rb
+ @RUBY@ $(RUBY_EXTCONF_OPTIONS) -C callbacks extconf.rb $(EXTCONF_OPTIONS)
+all: enum/Makefile map/Makefile inheritance/Makefile callbacks/Makefile all_extensions
+
all_extensions: $(addsuffix /Makefile,$(RICE_SAMPLES))
@for sample in $(RICE_SAMPLES); \
do \
${MAKE} -C $${sample} all; \
done
-clean: enum/Makefile map/Makefile inheritance/Makefile clean_extensions
+clean: enum/Makefile map/Makefile inheritance/Makefile callbacks/Makefile clean_extensions
clean_extensions:
@for sample in $(RICE_SAMPLES); \
do \
${MAKE} -C $${sample} clean; \
done
-distclean: enum/Makefile map/Makefile inheritance/Makefile distclean_extensions
+distclean: enum/Makefile map/Makefile inheritance/Makefile callbacks/Makefile distclean_extensions
distclean_extensions:
@for sample in $(RICE_SAMPLES);
do \
${MAKE} -C $${sample} distclean; \