CC = gcc CFLAGS = -Wall -Wpedantic -Wextra SRC = src BINDIR = bin BIN = skomb all: $(BIN) $(BIN): $(CC) $(CFLAGS) -O2 -DNDEBUG -funroll-loops -march=native -s $(SRC)/$(BIN).c -o $(BINDIR)/$@ debug: $(CC) $(CFLAGS) -O0 -g $(SRC)/$(BIN).c -o $(BINDIR)/$(BIN) clean: $(RM) -r $(BINDIR)/*