diff --git a/P25Gateway/Makefile b/P25Gateway/Makefile index d5c5c67..470d2ce 100644 --- a/P25Gateway/Makefile +++ b/P25Gateway/Makefile @@ -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 *~ \ No newline at end of file diff --git a/P25Gateway/Makefile.Solaris b/P25Gateway/Makefile.Solaris deleted file mode 100644 index e5851f7..0000000 --- a/P25Gateway/Makefile.Solaris +++ /dev/null @@ -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 *~ diff --git a/P25Parrot/Makefile b/P25Parrot/Makefile index 843f0e0..cb5430e 100644 --- a/P25Parrot/Makefile +++ b/P25Parrot/Makefile @@ -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 *~ diff --git a/P25Parrot/Makefile.Solaris b/P25Parrot/Makefile.Solaris deleted file mode 100644 index fd49cea..0000000 --- a/P25Parrot/Makefile.Solaris +++ /dev/null @@ -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 *~ diff --git a/P25Reflector/Makefile b/P25Reflector/Makefile index f296e1f..3fbbde7 100644 --- a/P25Reflector/Makefile +++ b/P25Reflector/Makefile @@ -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 *~ \ No newline at end of file diff --git a/P25Reflector/Makefile.Solaris b/P25Reflector/Makefile.Solaris deleted file mode 100644 index d486510..0000000 --- a/P25Reflector/Makefile.Solaris +++ /dev/null @@ -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 *~ - \ No newline at end of file