diff --git a/ambed/makefile b/ambed/makefile index 0aa514e..c556a28 100644 --- a/ambed/makefile +++ b/ambed/makefile @@ -14,9 +14,9 @@ $(EXECUTABLE): $(OBJECTS) $(CC) $(CFLAGS) $< -o $@ clean: - $(RM) *.o + $(RM) $(EXECUTABLE) *.o install: mkdir -p /ambed - cp ./ambed /ambed/ + cp $(EXECUTABLE) /ambed/ cp ./run /ambed/ diff --git a/ambed/readme b/ambed/readme index 3c6713a..6da694a 100644 --- a/ambed/readme +++ b/ambed/readme @@ -61,8 +61,8 @@ Follow FTDI provided documentation for installation and testing of the drivers. # git clone https://github.com/LX3JL/xlxd.git # cd xlxd/ambed/ -# make # make clean +# make # make install 3) configuring ambed startup script diff --git a/ambedtest/makefile b/ambedtest/makefile index 9e795b1..bc1a804 100644 --- a/ambedtest/makefile +++ b/ambedtest/makefile @@ -14,4 +14,4 @@ $(EXECUTABLE): $(OBJECTS) $(CC) $(CFLAGS) $< -o $@ clean: - $(RM) *.o + $(RM) $(EXECUTABLE) *.o diff --git a/src/makefile b/src/makefile index 6ec8420..f0f1378 100644 --- a/src/makefile +++ b/src/makefile @@ -14,11 +14,11 @@ $(EXECUTABLE): $(OBJECTS) $(CC) $(CFLAGS) $< -o $@ clean: - $(RM) xlxd *.o + $(RM) $(EXECUTABLE) *.o install: mkdir -p /xlxd - cp ./xlxd /xlxd/ + cp $(EXECUTABLE) /xlxd/ cp -i ../config/xlxd.blacklist /xlxd/ cp -i ../config/xlxd.whitelist /xlxd/ cp -i ../config/xlxd.interlink /xlxd/