summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rwxr-xr-x[-rw-r--r--]makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/makefile b/makefile
index e5c8228..d8e53c5 100644..100755
--- a/makefile
+++ b/makefile
@@ -1,13 +1,15 @@
CC=gcc
CFLAGS=-Wall -Werror -pedantic --std=c17
-OBJS=mips.o
-TARGET=mips
+OBJS=qdme.o
+TARGET=qdme
-%.o: %.c
- $(CC) $(CFLAGS) -c $@ $^
+%.o: %.c %.h
+ $(CC) $(CFLAGS) -c $@ $<
all: $(TARGET)
mips: $(OBJS)
$(CC) $(CFLAGS) -o $@ $^
+clean:
+ rm -rf $(TARGET)