26 lines
283 B
Plaintext
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
|