Akhy laisse le git
This commit is contained in:
25
utilitaire/makefile2
Normal file
25
utilitaire/makefile2
Normal 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
|
Reference in New Issue
Block a user