fixed makefile

This commit is contained in:
2022-08-24 17:17:30 +03:00
parent 47da3dbce5
commit 9e152c7c9d
3 changed files with 53 additions and 35 deletions

View File

@@ -18,6 +18,10 @@ else
TARGET := RELEASE
endif
ifeq ($(TARGET), DEBUG)
.DEFAULT_GOAL := debug
endif
release: $(PROGRAM)
debug: CFLAGS += -DEBUG -Werror