summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorJacob McDonnell <jacob@jacobmcdonnell.com>2024-05-09 18:54:46 -0400
committerJacob McDonnell <jacob@jacobmcdonnell.com>2024-05-09 18:54:46 -0400
commit3cfd8e1da5dedecf9c306770acbc7125ec874d35 (patch)
tree23c7cfa69278e99d4cd08de3126a6ba074acbd95 /makefile
parent3f51c2469c71154f6ce7cb75460488fd8e58e3ec (diff)
Move to Big Endian Binaries
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)