APL/utilitaire/makefile2

26 lines
283 B
Plaintext
Raw Permalink Normal View History

2022-01-25 12:46:19 +01:00
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