summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorJacob McDonnell <jacob@jacobmcdonnell.com>2024-05-12 22:19:03 -0400
committerJacob McDonnell <jacob@jacobmcdonnell.com>2024-05-12 22:19:03 -0400
commitc423f90dde0e8f43b2ec7df45e9840d041186edf (patch)
tree1aa9715ad84e032faad9fcc7c1069cf7c883916f /makefile
parent3cfd8e1da5dedecf9c306770acbc7125ec874d35 (diff)
Fixed loading binary into emulated memory
Diffstat (limited to 'makefile')
-rwxr-xr-xmakefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/makefile b/makefile
index d8e53c5..843c699 100755
--- a/makefile
+++ b/makefile
@@ -1,6 +1,7 @@
CC=gcc
CFLAGS=-Wall -Werror -pedantic --std=c17
OBJS=qdme.o
+SRCS=qdme.c
TARGET=qdme
%.o: %.c %.h
@@ -8,6 +9,9 @@ TARGET=qdme
all: $(TARGET)
+debug: $(SRCS)
+ $(CC) $(CFLAGS) -g -o $(TARGET) $^
+
mips: $(OBJS)
$(CC) $(CFLAGS) -o $@ $^