mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
added install target to Makefile
This commit is contained in:
parent
7075045b5d
commit
74738a1184
1 changed files with 9 additions and 0 deletions
|
@ -92,6 +92,15 @@ libs2ss.so: CFLAGS += -fPIC $(LIB_CFLAGS)
|
|||
libs2ss.so: $(LIB_OBJS)
|
||||
$(CC) $(LIB_LDFLAGS) $(LIB_LDLIBS) -shared -o $@ $^
|
||||
|
||||
# Common targets
|
||||
install: $(TARGETS)
|
||||
install -m 0644 libs2ss.so $(PREFIX)/lib
|
||||
install -m 0755 server -T $(PREFIX)/bin/s2ss
|
||||
install -m 0755 send $(PREFIX)/bin/s2ss-send
|
||||
install -m 0755 receive $(PREFIX)/bin/s2ss-receive
|
||||
install -m 0755 random $(PREFIX)/bin/s2ss-random
|
||||
install -m 0755 test $(PREFIX)/bin/s2ss-test
|
||||
|
||||
clean:
|
||||
$(RM) *~ *.o *.d *.so
|
||||
$(RM) $(TARGETS)
|
||||
|
|
Loading…
Add table
Reference in a new issue