From 1a93e04fe50d59f0c524e8f4dd53d48a287adfde Mon Sep 17 00:00:00 2001 From: Jacob McDonnell Date: Sun, 5 May 2024 02:13:51 -0400 Subject: Initial Commit --- makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 makefile (limited to 'makefile') diff --git a/makefile b/makefile new file mode 100644 index 0000000..e5c8228 --- /dev/null +++ b/makefile @@ -0,0 +1,13 @@ +CC=gcc +CFLAGS=-Wall -Werror -pedantic --std=c17 +OBJS=mips.o +TARGET=mips + +%.o: %.c + $(CC) $(CFLAGS) -c $@ $^ + +all: $(TARGET) + +mips: $(OBJS) + $(CC) $(CFLAGS) -o $@ $^ + -- cgit v1.2.3