-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmakefile.linux
31 lines (23 loc) · 1.24 KB
/
makefile.linux
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
CC=c++ -c
CFLAGS=-c -DSTRICT -G3 -Ow -W3 -Zp -Tp
CFLAGSMT=-std=c++11 -I 'New folder/base' `pkg-config --cflags libcrypto libsodium`
LINKER=c++
GUILIBS=`pkg-config --libs libcrypto libsodium`
docks : trail linux.bin/decompressor linux.bin/compressor
linux.bin/decompressor : linux.bin/decompressor.o linux.bin/base58_2048.o
$(LINKER) $(GUIFLAGS) linux.bin/decompressor.o linux.bin/base58_2048.o $(GUILIBS) -o linux.bin/decompressor
linux.bin/compressor : linux.bin/compressor.o linux.bin/base58_2048.o linux.bin/groestl.o
$(LINKER) linux.bin/compressor.o linux.bin/base58_2048.o $(GUILIBS) -o linux.bin/compressor
trail :
ifeq ($(wildcard linux.bin/.),)
@mkdir linux.bin
endif
linux.bin/decompressor.o: CMakeProject1/decompressor.cpp
$(CC) $(CFLAGSMT) CMakeProject1/decompressor.cpp -o linux.bin/decompressor.o
linux.bin/compressor.o : CMakeProject1/compressor.cpp CMakeProject1/hashgroestl.hpp
$(CC) $(CFLAGSMT) CMakeProject1/compressor.cpp -o linux.bin/compressor.o
linux.bin/base58_2048.o : CMakeProject1/base58_2048.cpp CMakeProject1/base58_2048.h
$(CC) $(CFLAGSMT) CMakeProject1/base58_2048.cpp -o linux.bin/base58_2048.o
linux.bin/groestl.o : CMakeProject1/groestl.c
$(CC) $(CFLAGSMT) CMakeProject1/groestl.c -o linux.bin/groestl.o
groestl.c