Akhy laisse le git

This commit is contained in:
Vieira
2022-01-25 12:46:19 +01:00
parent 0537cce4d6
commit 7a9c24b042
3 changed files with 62 additions and 0 deletions

25
utilitaire/makefile2 Normal file
View File

@@ -0,0 +1,25 @@
but :core_wars
OFILES = conversion.o\
main_core_wars.o
CC=gcc
CFLAGS= -pedantic -g
main_core_wars : conversion.o
core_wars : $(OFILES)
$(CC) $(CFLAGS) -o core_wars $(OFILES)
clean :
-rm -f $(OFILES) core_wars redcode.mars
run:
./core_wars
.PHONY : but clean