1
0
mirror of https://gitlab.com/klmp200/LO27.git synced 2024-11-22 22:33:20 +00:00

Compilateur nazi

This commit is contained in:
Antoine Bartuccio 2016-12-27 01:43:49 +01:00
parent 4aeedd44c6
commit fe0a6edfe6
3 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
CC=gcc
CFLAGS=-Wall -Werror -pedantic -fpic -g
CFLAGS=-Wall -Werror -pedantic -fpic -g -std=c89
LIBSDIR=-L/usr/lib -L../Libs

View File

@ -3,7 +3,7 @@
# export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:./Libs
CC=gcc
CFLAGS=-Wall -Werror -pedantic -fpic -g
CFLAGS=-Wall -Werror -pedantic -fpic -g -std=c89
LIBSDIR=-L/usr/lib -L./Libs

4
main.c
View File

@ -11,6 +11,8 @@
#include <matrix.h>
int main(int argc, char **argv){
int Rule = 256;
int N = 1;
Matrix matrix = CreateMatrix();
Matrix m2;
Matrix m3;
@ -22,8 +24,6 @@ int main(int argc, char **argv){
BasicPrintMatrix(m3);
freeMatrix(m3);
int Rule = 256;
int N = 1;
applyRules(matrix,Rule,N);
matrix = SetMatrixDim(matrix,3,3);