export TOPDIR ?= $(CURDIR)/../..
include $(TOPDIR)/global_config
+ifneq ($(WANT_COMMERCIAL),no)
+
$(shell mkdir -p $(OBJDIR))
$(shell echo $(CFLAGS) > $(OBJDIR)/c_flags)
CXXFLAGS:=-ggdb -I.. -Wall `cat $(OBJDIR)/c_flags`
clean:
rm -f $(TARGETS) *.o a.out
+else
+#not WANT_COMMERCIAL
+all:
+install:
+clean:
+endif