blob: 6b45ce463caa5e5c441e4eae828c61c6fb1c38d9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
SDL = -L/usr/lib -lSDL2
OBJS = build/6502.o build/addressing.o build/instructions.o build/table.o build/apple.o
build/6502.o:
gcc -c src/cpu/6502.c -o build/6502.o
build/addressing.o:
gcc -c src/cpu/addressing.c -o build/addressing.o
build/instructions.o:
gcc -c src/cpu/instructions.c -o build/instructions.o
build/table.o:
gcc -c src/cpu/table.c -o build/table.o
build/apple.o:
gcc -c src/apple.c -o build/apple.o
default: $(OBJS)
gcc src/main.c -o build/main
interpreter: $(OBJS)
gcc src/interpreter.c -o interpreter $(OBJS)
clean:
rm build/*
|