Linux Permissions

Attempt to fix the permission issue that some users are hitting with the Linux build.
This commit is contained in:
Wayne Warthen
2021-07-11 18:45:41 -07:00
parent f89d609de2
commit 39185fa8b3
6 changed files with 6 additions and 6 deletions

View File

@@ -8,7 +8,7 @@ SRC_FILES = $(wildcard *.c)
OBJ_FILES = $(SRC_FILES:.c=.o)
all: $(BINARY) $(DEST)
cp $(BINARY) $(DEST)
cp -p $(BINARY) $(DEST)
$(DEST):
mkdir -p $(DEST)

View File

@@ -14,7 +14,7 @@ DEST = ../../$(UNAME)
all: $(DEST)
-for i in *.$(SUFFIX) ; do \
chmod +x $$i ; \
cp $$i $(DEST)/$$(basename $$i .$(SUFFIX)) ; \
cp -p $$i $(DEST)/$$(basename $$i .$(SUFFIX)) ; \
done
$(DEST):

View File

@@ -23,7 +23,7 @@ DEVICEOBJ = device_posix.o
OBJECTS = cpmls cpmrm cpmcp cpmchmod cpmchattr mkfs.cpm fsck.cpm fsed.cpm
all: $(OBJECTS) $(DEST)
cp $(OBJECTS) $(DEST)
cp -p $(OBJECTS) $(DEST)
cpmls: cpmls.o cpmfs.o getopt.o getopt1.o $(DEVICEOBJ)
$(CC) $(LDFLAGS) -o $@ cpmls.o cpmfs.o getopt.o getopt1.o $(DEVICEOBJ)

View File

@@ -33,7 +33,7 @@ OBJS += $(OBJDIR)/src/libdivsufsort/lib/trsort.o
UNAME := $(shell uname)
all: $(APP)
cp $(APP) ../../$(UNAME)
cp -p $(APP) ../../$(UNAME)
$(APP): $(OBJS)
@mkdir -p ../../bin/posix

View File

@@ -44,7 +44,7 @@ SOURCES = \
mc6800.c
all: uz80as $(DEST)
cp uz80as $(DEST)
cp -p uz80as $(DEST)
$(DEST):
mkdir -p $(DEST)

View File

@@ -17,7 +17,7 @@ OBJECTS = zx.o cpmdrv.o cpmglob.o cpmparse.o cpmredir.o \
UNUSED = dirent.o
all: zx $(DEST)
cp bios.bin zx $(DEST)
cp -p bios.bin zx $(DEST)
$(DEST):
mkdir -p $(DEST)