NXDNClients/NXDNParrot/Makefile

22 lines
426 B
Makefile
Raw Permalink Normal View History

2020-09-06 08:45:06 -04:00
CC = cc
CXX = c++
2018-03-13 18:16:48 -04:00
CFLAGS = -g -O3 -Wall -std=c++0x -pthread
LIBS = -lpthread
LDFLAGS = -g
2018-03-27 03:13:54 -04:00
OBJECTS = NXDNNetwork.o NXDNParrot.o Parrot.o StopWatch.o Thread.o Timer.o UDPSocket.o
2018-03-13 18:16:48 -04:00
all: NXDNParrot
NXDNParrot: $(OBJECTS)
$(CXX) $(OBJECTS) $(CFLAGS) $(LIBS) -o NXDNParrot
%.o: %.cpp
$(CXX) $(CFLAGS) -c -o $@ $<
2020-06-25 05:05:38 -04:00
install:
install -m 755 NXDNParrot /usr/local/bin/
2018-03-13 18:16:48 -04:00
clean:
$(RM) NXDNParrot *.o *.d *.bak *~