diff options
Diffstat (limited to 'makefile')
| -rw-r--r-- | makefile | 13 |
1 files changed, 13 insertions, 0 deletions
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 $@ $^ + |
