OSDN Git Service
(root)
/
slunkcrypt
/
SlunkCrypt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77c97d0
)
Added simple Makefile.
author
LoRd_MuldeR
<mulder2@gmx.de>
Tue, 13 Oct 2020 21:36:58 +0000
(23:36 +0200)
committer
LoRd_MuldeR
<mulder2@gmx.de>
Sat, 20 Mar 2021 20:18:10 +0000
(21:18 +0100)
Makefile
[new file with mode: 0644]
patch
|
blob
diff --git a/Makefile
b/Makefile
new file mode 100644
(file)
index 0000000..
c48b33b
--- /dev/null
+++ b/
Makefile
@@ -0,0
+1,19
@@
+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)