APL/utilitaire/makefile2
2022-01-25 12:46:19 +01:00

26 lines
283 B
Plaintext

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