J'essaye de tout faire fonctionner

This commit is contained in:
baillyj
2021-12-17 15:24:07 +01:00
parent 7b744c7240
commit 26be875623
20 changed files with 367 additions and 0 deletions

14
Makefile Normal file
View File

@@ -0,0 +1,14 @@
corewar : Instruc.o core.o
gcc -o corewar.out main.c Instruc.o core.o
./corewar.out
Instruc.o : Instruc.c Instruc.h
gcc -c Instruc.c
core.o : core.c core.h
gcc -c core.c
clean :
rm -f *.o
rm -f redcode/*.mars
rm -f corewar.out