20 lines
351 B
Makefile
20 lines
351 B
Makefile
CFLAGS = -O3 -static -DNDEBUG -IlibMCrypt/include
|
|
|
|
ifeq ($(OS),Windows_NT)
|
|
SUFFIX := exe
|
|
CFLAGS += -municode
|
|
else
|
|
SUFFIX := out
|
|
endif
|
|
|
|
.PHONY: all clean
|
|
|
|
all:
|
|
@mkdir -p bin
|
|
$(CC) $(CFLAGS) -o bin/mcrypt.$(SUFFIX) $(wildcard frontend/src/*.c) $(wildcard libMCrypt/src/*.c)
|
|
strip bin/mcrypt.$(SUFFIX)
|
|
|
|
clean:
|
|
@mkdir -p bin
|
|
rm -f bin/*.$(SUFFIX)
|