summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile25
1 files changed, 2 insertions, 23 deletions
diff --git a/makefile b/makefile
index 6b45ce4..60f7f65 100644
--- a/makefile
+++ b/makefile
@@ -1,28 +1,7 @@
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)
+interpreter:
+ gcc src/interpreter.c -o build/testing
clean:
rm build/* \ No newline at end of file