makefile added a test target

This commit is contained in:
Juraj Borza 2020-04-16 08:20:46 +02:00
parent 477ebabeeb
commit d726027da8
2 changed files with 5 additions and 2 deletions

5
Makefile Normal file
View File

@ -0,0 +1,5 @@
CC=gcc
emu6502:
$(CC) -o emu6502 *.c
test:
$(CC) -o test test6502.c cpu.c disassembler.c memory.c test_framework.c test_main.c

View File

@ -1,2 +0,0 @@
emu6502:
cc *.c -o emu6502