Put compiler flags before dash options

Again, that's more in line with the standard
This commit is contained in:
Jerome Charaoui 2019-01-24 21:17:19 -05:00 committed by Fufu Fang
parent 14ca3bca20
commit dd4e9d5517
1 changed files with 2 additions and 2 deletions

View File

@ -7,10 +7,10 @@ OBJ = main.o network.o fuse_local.o link.o
prefix ?= /usr/local
%.o: %.c
$(CC) -c -o $@ $< $(CPPFLAGS) $(CFLAGS) $(LDFLAGS)
$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -c -o $@ $<
httpdirfs: $(OBJ)
$(CC) -o $@ $^ $(CPPFLAGS) $(CFLAGS) $(LDFLAGS)
$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ $^
install:
install -m 755 -D httpdirfs \