1 export TOPDIR ?= $(CURDIR)/../..
2 include $(TOPDIR)/global_config
4 $(shell mkdir -p $(OBJDIR) )
5 $(shell echo $(CFLAGS) > $(OBJDIR)/c_flags)
7 OUTPUT := $(OBJDIR)/xfer.stamp
12 rm -rf $(OBJDIR) xfer*.[Ch]
15 $(CXX) -I.. `cat $(OBJDIR)/c_flags` -O3 -DMSGQUAL=$* -c $< -o $@
17 $(OUTPUT): $(patsubst %.C,$(OBJDIR)/%.o,$(wildcard *.C))