|
|
@ -4,6 +4,7 @@ BUILD:=build
|
|
|
|
FEATURES?=-DFIXED_ROW_SIZE=24
|
|
|
|
FEATURES?=-DFIXED_ROW_SIZE=24
|
|
|
|
CFLAGS:= $(FEATURES) -Wall -pedantic -O3 -march=native --std=gnu++20 -fgraphite -flto
|
|
|
|
CFLAGS:= $(FEATURES) -Wall -pedantic -O3 -march=native --std=gnu++20 -fgraphite -flto
|
|
|
|
LFLAGS:=-O3 -flto -lfmt
|
|
|
|
LFLAGS:=-O3 -flto -lfmt
|
|
|
|
|
|
|
|
DESTDIR?=/usr/local/bin
|
|
|
|
|
|
|
|
|
|
|
|
hexview:
|
|
|
|
hexview:
|
|
|
|
g++ $(SRC) $(CFLAGS) -I$(INCLUDE) -o $(BUILD)/$@ $(LFLAGS)
|
|
|
|
g++ $(SRC) $(CFLAGS) -I$(INCLUDE) -o $(BUILD)/$@ $(LFLAGS)
|
|
|
@ -11,3 +12,6 @@ hexview:
|
|
|
|
|
|
|
|
|
|
|
|
clean:
|
|
|
|
clean:
|
|
|
|
rm -f $(BUILD)/*
|
|
|
|
rm -f $(BUILD)/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
install: hexview
|
|
|
|
|
|
|
|
cp -f $(BUILD)/hexview $(DESTDIR)/hexview
|
|
|
|