$(CC) -MM $(CFLAGS) $(CPPFLAGS) $(INCDIR) *.c
install: $(TARGETS) $(LIB_TARGETS)
- install -D -m 775 $(TARGETS) ../binlocal/
- install -D -m 775 $(LIB_TARGETS) ../liblocal/
- install -D -m 664 trbnet.h trberror.h pexor_user.h ../include/
+ mkdir -m 2775 -p ../binlocal ../liblocal ../include
+ install -m 775 $(TARGETS) ../binlocal/
+ install -m 775 $(LIB_TARGETS) ../liblocal/
+ install -m 664 trbnet.h trberror.h pexor_user.h ../include/
# ------------ Dependencies --------------------------------------------
$(CC) -MM $(CFLAGS) $(CPPFLAGS) $(INCDIR) *.c
install: $(TARGETS)
- install -D -m 775 $(TARGETS) ../binlocal/
+ mkdir -m 2775 -p ../binlocal/
+ install -m 775 $(TARGETS) ../binlocal/
make -C kernel-module install
# ------------ Dependencies --------------------------------------------
$(MAKE) -C $(KERNELDIR) M=$(PWD) clean
install: $(TARGETS)
- install -D -m 775 $(TARGETS) ../../kernel-modules/
+ mkdir -m 2775 -p ../../kernel-modules
+ install -m 775 $(TARGETS) ../../kernel-modules/
# ------------ Dependencies --------------------------------------------
$(CC) -MM $(CFLAGS) $(CPPFLAGS) $(INCDIR) *.c
install: $(TARGETS) $(LIB_TARGETS)
- install -D -m 775 $(TARGETS) ../bin/
- install -D -m 775 $(LIB_TARGETS) ../lib/
+ mkdir -m 2775 -p ../bin ../lib
+ install -m 775 $(TARGETS) ../bin/
+ install -m 775 $(LIB_TARGETS) ../lib/
# ------------ Dependencies --------------------------------------------
$(CC) -MM $(CFLAGS) $(CPPFLAGS) $(INCDIR) *.c
install: $(TARGETS)
- install -D -m 775 $(TARGETS) ../../binlocal/
+ mkdir -m 2775 -p ../../binlocal
+ install -m 775 $(TARGETS) ../../binlocal/
# ------------ Dependencies --------------------------------------------
$(CC) -MM $(CFLAGS) $(CPPFLAGS) $(INCDIR) *.c
install: $(TARGETS)
- install -D -m 775 $(TARGETS) ../binlocal/
+ mkdir -m 2775 -p ../binlocal
+ install -m 775 $(TARGETS) ../binlocal/
# ------------ Dependencies --------------------------------------------