TOPDIR = ../.. include $(TOPDIR)/rules.mk TESTS = \ box1 \ put1 include $(TOPDIR)/samples/samples.mk box1.cc: box2.hh box1: box1.o box2.o $(LIBRF) $(LIBRFRT) $(LIBPXX) $(CXX) -o $@ $(LDFLAGS) $^ $(LDLIBS) CFLAGS+=-O0 tests:: $(TESTS) -include $(DEPS)