mirror of
https://gitlab.com/klmp200/LO27.git
synced 2024-11-22 22:53:19 +00:00
Compilateur nazi
This commit is contained in:
parent
4aeedd44c6
commit
fe0a6edfe6
@ -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
|
||||
|
2
Makefile
2
Makefile
@ -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
4
main.c
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user