SAE12_2021/CoreWar/Makefile

14 lines
236 B
Makefile
Raw Normal View History

2021-12-17 15:24:07 +01:00
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