upon call of HC.make, the size of the virtual size can be set

This commit is contained in:
Peter Steinbach 2017-07-25 17:04:51 +02:00
parent bfe8996775
commit 78a4f0cb73

View File

@ -4,6 +4,10 @@ HCC = hcc
CXXFLAGS+=-O3 $(shell hcc-config --cxxflags)
LDFLAGS+=$(shell hcc-config --ldflags)
ifdef TBSIZE
CXXFLAGS+=-DVIRTUALTILESIZE=$(TBSIZE)
endif
hc-stream: main.cpp HCStream.cpp
$(HCC) $(CXXFLAGS) -DHC $^ $(LDFLAGS) $(EXTRA_FLAGS) -o $@