diff --git a/Makefile b/Makefile index fcd2136..d7eab25 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ VERSION=1.0 CFLAGS+= -g -O2 -Wall -Wextra -D_FILE_OFFSET_BITS=64 -DVERSION=\"$(VERSION)\" LDFLAGS+= -lgumbo -lcurl -lfuse -lcrypto -OBJ = main.o network.o fuse_local.o link.o +COBJS = main.o network.o fuse_local.o link.o prefix ?= /usr/local @@ -11,7 +11,7 @@ all: httpdirfs %.o: %.c $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -c -o $@ $< -httpdirfs: $(OBJ) +httpdirfs: $(COBJS) $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ $^ install: