diff --git a/src/runtime/Makefile b/src/runtime/Makefile index 1749254..9999a64 100644 --- a/src/runtime/Makefile +++ b/src/runtime/Makefile @@ -1,21 +1,11 @@ CC = gcc CFLAGS = -std=gnu99 -Os -D_FILE_OFFSET_BITS=64 -DGIT_COMMIT=\"${GIT_COMMIT}\" -T data_sections.ld -ffunction-sections -fdata-sections -Wl,--gc-sections -static -Wall -Werror -LIBS = -lsquashfuse -lsquashfuse_ll -lzstd -lz +LIBS = -lsquashfuse -lsquashfuse_ll -lzstd -lz -lfuse3 all: runtime -# Compile runtime -runtimey.o: runtime.c - $(CC) -I/usr/local/include/squashfuse -I/usr/include/fuse -o runtime.o -c $(CFLAGS) $^ - -runtime: runtime.o - $(CC) $(CFLAGS) $^ $(LIBS) -lfuse -o runtime - -runtime.o: runtime.c - $(CC) -I/usr/local/include/squashfuse -I/usr/include/fuse3 -o runtime.o -c $(CFLAGS) $^ - -runtime: runtime.o - $(CC) $(CFLAGS) $^ $(LIBS) -lfuse3 -o runtime +runtime: runtime.c + $(CC) -I/usr/local/include/squashfuse -I/usr/include/fuse3 $(CFLAGS) $^ $(LIBS) -o $@ clean: - rm -f *.o runtime + rm -f runtime