
VERSION = $(shell git describe  --abbrev=7 --always --exclude='*' --dirty)
CFLAGS += -DVERSION='"$(VERSION)"'

SOURCES += enc_part.c
CFLAGS += -lssl -lcrypto -Wall -Werror
EXECUTABLE = enc_part

.PHONY: all

all: $(EXECUTABLE)

$(EXECUTABLE): $(SOURCES)
	@$(CC)  $^ -o $@ $(CFLAGS)

clean:
	rm -rf $(EXECUTABLE)

