[Makefile] add mrproper

This commit is contained in:
Gwenhael Le Moine 2023-10-03 13:24:52 +02:00
parent 37266dae69
commit 8ffc5792a6
No known key found for this signature in database
GPG key ID: FDFE3669426707A7

View file

@ -3,7 +3,7 @@ LIBS = $(shell pkg-config --libs sdl2 SDL2_ttf)
CFLAGS = -Wall -Werror -O3 -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=unused-but-set-variable -Wno-error=missing-braces -Wno-error=incompatible-pointer-types
CFLAGS += -DSDL_TTF=1 #-DFONT_FILENAME="/usr/share/fonts/TTF/unifont.ttf"
.PHONY: all clean clean-all pretty-code install
.PHONY: all clean clean-all pretty-code install mrproper
all: dist/hpemu
@ -34,9 +34,11 @@ dist/hpemu: src/bus.o \
clean:
-rm src/*.o
clean-all: clean
mrproper: clean
-rm dist/hpemu
clean-all: mrproper
# Formatting
pretty-code:
clang-format -i src/*.c src/*.h