Files
2026-08-24 10:03:24 +08:00

19 lines
314 B
Makefile

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)