summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
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 $@ $^