implemented install way

This commit is contained in:
Václav Šmejkal 2022-05-01 16:23:07 +02:00
parent 39a4a02955
commit 5dda971834
5 changed files with 11 additions and 11 deletions

View File

@ -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

View File

@ -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)

View File

@ -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)

View File

@ -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

View File

@ -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"