otherwise it gets truncated on failure, and make thinks it's
there on the next run.
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
all: vncterm
glyphs.h: genfont
- ./genfont > glyphs.h
+ ./genfont > glyphs.h.tmp
+ mv glyphs.h.tmp glyphs.h
genfont: genfont.c
gcc -g -O2 -o $@ genfont.c -Wall -D_GNU_SOURCE -lz
.PHONY: clean
clean:
- rm -rf vncterm vncterm.1 vncterm_*.deb tigervnc *~ ${VNCDIR} vncterm-*.tar.gz
+ rm -rf vncterm vncterm.1 vncterm_*.deb tigervnc *~ ${VNCDIR} vncterm-*.tar.gz glyph.h.tmp
.PHONY: distclean
distclean: clean