@@ -1,14 +1,20 @@
CC ?= gcc
SOURCES := $(wildcard src/*.c)
RELEASE ?= false
CFLAGS ?= -Wall
ifeq ($(RELEASE),true)
CFLAGS += -O3
endif
.PHONY: clean
all: dist/msh
dist/msh: $(SOURCES) dist
$(CC) -o $@ $(SOURCES)
$(CC) -o $@ $(SOURCES) $(CFLAGS)
dist:
mkdir -p dist
The note is not visible to the blocked user.