Put compiler flags before dash options
Again, that's more in line with the standard
This commit is contained in:
parent
14ca3bca20
commit
dd4e9d5517
4
Makefile
4
Makefile
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue