mirror of
https://github.com/ShaYmez/P25Clients.git
synced 2024-11-21 19:55:22 -05:00
Add the install target.
This commit is contained in:
parent
b866d44804
commit
3c708b5b75
@ -14,6 +14,9 @@ P25Gateway: $(OBJECTS)
|
||||
%.o: %.cpp
|
||||
$(CXX) $(CFLAGS) -c -o $@ $<
|
||||
|
||||
install:
|
||||
install -m 755 P25Gateway /usr/local/bin/
|
||||
|
||||
clean:
|
||||
$(RM) P25Gateway *.o *.d *.bak *~
|
||||
|
@ -1,18 +0,0 @@
|
||||
CC = gcc
|
||||
CXX = g++
|
||||
CFLAGS = -g -O3 -Wall -std=c++0x -pthread
|
||||
LIBS = -lsocket -lpthread
|
||||
LDFLAGS = -g
|
||||
|
||||
OBJECTS = Conf.o DMRLookup.o Log.o Mutex.o Network.o P25Gateway.o Reflectors.o StopWatch.o Thread.o Timer.o UDPSocket.o Utils.o Voice.o
|
||||
|
||||
all: P25Gateway
|
||||
|
||||
P25Gateway: $(OBJECTS)
|
||||
$(CXX) $(OBJECTS) $(CFLAGS) $(LIBS) -o P25Gateway
|
||||
|
||||
%.o: %.cpp
|
||||
$(CXX) $(CFLAGS) -c -o $@ $<
|
||||
|
||||
clean:
|
||||
$(RM) P25Gateway *.o *.d *.bak *~
|
@ -14,5 +14,8 @@ P25Parrot: $(OBJECTS)
|
||||
%.o: %.cpp
|
||||
$(CXX) $(CFLAGS) -c -o $@ $<
|
||||
|
||||
install:
|
||||
install -m 755 P25Parrot /usr/local/bin/
|
||||
|
||||
clean:
|
||||
$(RM) P25Parrot *.o *.d *.bak *~
|
||||
|
@ -1,18 +0,0 @@
|
||||
CC = gcc
|
||||
CXX = g++
|
||||
CFLAGS = -g -O3 -Wall -std=c++0x -pthread
|
||||
LIBS = -lsocket -lpthread
|
||||
LDFLAGS = -g
|
||||
|
||||
OBJECTS = Network.o P25Parrot.o Parrot.o StopWatch.o Thread.o Timer.o UDPSocket.o
|
||||
|
||||
all: P25Parrot
|
||||
|
||||
P25Parrot: $(OBJECTS)
|
||||
$(CXX) $(OBJECTS) $(CFLAGS) $(LIBS) -o P25Parrot
|
||||
|
||||
%.o: %.cpp
|
||||
$(CXX) $(CFLAGS) -c -o $@ $<
|
||||
|
||||
clean:
|
||||
$(RM) P25Parrot *.o *.d *.bak *~
|
@ -14,6 +14,9 @@ P25Reflector: $(OBJECTS)
|
||||
%.o: %.cpp
|
||||
$(CXX) $(CFLAGS) -c -o $@ $<
|
||||
|
||||
install:
|
||||
install -m 755 P25Reflector /usr/local/bin/
|
||||
|
||||
clean:
|
||||
$(RM) P25Reflector *.o *.d *.bak *~
|
||||
|
@ -1,19 +0,0 @@
|
||||
CC = gcc
|
||||
CXX = g++
|
||||
CFLAGS = -g -O3 -Wall -std=c++0x -pthread
|
||||
LIBS = -lsocket -lpthread
|
||||
LDFLAGS = -g
|
||||
|
||||
OBJECTS = Conf.o DMRLookup.o Log.o Mutex.o Network.o P25Reflector.o StopWatch.o Thread.o Timer.o UDPSocket.o Utils.o
|
||||
|
||||
all: P25Reflector
|
||||
|
||||
P25Reflector: $(OBJECTS)
|
||||
$(CXX) $(OBJECTS) $(CFLAGS) $(LIBS) -o P25Reflector
|
||||
|
||||
%.o: %.cpp
|
||||
$(CXX) $(CFLAGS) -c -o $@ $<
|
||||
|
||||
clean:
|
||||
$(RM) P25Reflector *.o *.d *.bak *~
|
||||
|
Loading…
Reference in New Issue
Block a user