fldigi - Add custom et-portaudio comment to system-wide installer

This commit is contained in:
thetechprepper
2025-10-02 13:42:13 -07:00
parent 6021b14243
commit 944b06e7f9
5 changed files with 59 additions and 1 deletions
+11
View File
@@ -4,11 +4,22 @@ LDFLAGS = -lportaudio -lasound
TARGET = et-portaudio
SRC = main.c
VERSION=1.0.0
INSTALL_DIR = /opt/et-portaudio-$(VERSION)/bin
.PHONY: install
all: $(TARGET)
$(TARGET): $(SRC)
$(CC) $(CFLAGS) -o $(TARGET) $(SRC) $(LDFLAGS)
install: $(TARGET)
@echo "Installing $(TARGET) to $(INSTALL_DIR)..."
@mkdir -p $(INSTALL_DIR)
@cp $(TARGET) $(INSTALL_DIR)/
@chmod 755 $(INSTALL_DIR)/$(TARGET)
@echo "Done."
clean:
rm -f $(TARGET) *.o
+6
View File
@@ -24,3 +24,9 @@ exit status of 1.
``bash
make
```
## Install
```bash
sudo make install
```