implemented install way
This commit is contained in:
parent
39a4a02955
commit
5dda971834
2
build.sh
2
build.sh
@ -32,7 +32,7 @@ if [[ "$1" == "test" ]]; then ########## TEST ##########
|
||||
###
|
||||
|
||||
# Compile
|
||||
$compiler $testFile $sourceFiles $includeFiles $flags -o $output
|
||||
$compiler -lwhy2 $testFile $flags -o $output
|
||||
|
||||
# Compilation failed
|
||||
if [[ $? -ne 0 ]]; then
|
||||
|
@ -1,11 +1,11 @@
|
||||
#include "../include/decrypter.h"
|
||||
#include <why2/decrypter.h>
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "../include/flags.h"
|
||||
#include "../include/misc.h"
|
||||
#include <why2/flags.h>
|
||||
#include <why2/misc.h>
|
||||
|
||||
char*
|
||||
decryptText(char *text, char *key)
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "../include/encrypter.h"
|
||||
#include <why2/encrypter.h>
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
@ -6,8 +6,8 @@
|
||||
#include <time.h>
|
||||
#include <math.h>
|
||||
|
||||
#include "../include/flags.h"
|
||||
#include "../include/misc.h"
|
||||
#include <why2/flags.h>
|
||||
#include <why2/misc.h>
|
||||
|
||||
char*
|
||||
encryptText(char *text, char *keyNew)
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "../include/misc.h"
|
||||
#include <why2/misc.h>
|
||||
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
@ -6,7 +6,7 @@
|
||||
#include <curl/curl.h>
|
||||
#include <json-c/json.h>
|
||||
|
||||
#include "../include/flags.h"
|
||||
#include <why2/flags.h>
|
||||
|
||||
#define CLEAR_SCREEN "\e[1;1H\e[2J"
|
||||
#define NOT_FOUND_TRIES 10
|
||||
|
@ -2,8 +2,8 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "../../include/encrypter.h"
|
||||
#include "../../include/decrypter.h"
|
||||
#include <why2/encrypter.h>
|
||||
#include <why2/decrypter.h>
|
||||
|
||||
#define TEST_TEXT "Pepa smrdí."
|
||||
#define TEST_KEY "lZwOBFvjJEmaYRIaKsALKLkSeJvXhFPbZIRNFbjQRNyiOuLTexhgOpObHzyQgNT"
|
||||
|
Loading…
x
Reference in New Issue
Block a user