mirror of
https://github.com/wiire-a/pixiewps.git
synced 2025-07-27 15:54:29 +02:00
Added removal of pixiewps from old installation directory
The installation directory was
[changed](571f5a55ba
)
for OpenWRT compatibility.
This commit is contained in:
parent
0cf0e7ce82
commit
0679bbab7b
@ -4,11 +4,13 @@ LDFLAGS = -lcrypto -I../include
|
||||
TARGET = pixiewps
|
||||
PREFIX = $(DESTDIR)/usr
|
||||
BINDIR = $(PREFIX)/bin
|
||||
OLDDIR = $(PREFIX)/local/bin
|
||||
|
||||
all:
|
||||
$(CC) $(CCFLAGS) -o $(TARGET) $(TARGET).c $(LDFLAGS)
|
||||
|
||||
install:
|
||||
rm -f $(OLDDIR)/$(TARGET)
|
||||
install -D $(TARGET) $(BINDIR)/$(TARGET)
|
||||
install -m 755 $(TARGET) $(BINDIR)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user