diff options
Diffstat (limited to 'makefile')
| -rwxr-xr-x[-rw-r--r--] | makefile | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -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) |
