14 lines
236 B
Makefile
14 lines
236 B
Makefile
corewar : Instruc.o core.o
|
|
gcc -o corewar.out main.c Instruc.o core.o
|
|
./corewar.out
|
|
|
|
Instruc.o : Instruc.c Instruc.h
|
|
gcc -c Instruc.c
|
|
|
|
core.o : core.c core.h
|
|
gcc -c core.c
|
|
|
|
clean :
|
|
rm -f *.o
|
|
rm -f redcode/*.mars
|
|
rm -f corewar.out
|