ircDDBGateway/TextTransmit/Makefile

24 lines
499 B
Makefile
Raw Normal View History

2018-05-15 20:32:38 +02:00
OBJECTS = TextTransmit.o
.PHONY: all
all: texttransmitd
2018-05-15 20:32:38 +02:00
texttransmitd: $(OBJECTS) ../Common/Common.a
$(CXX) $(OBJECTS) ../Common/Common.a $(LDFLAGS) $(LIBS) -o texttransmitd
2018-05-15 20:32:38 +02:00
-include $(OBJECTS:.o=.d)
2018-05-15 20:32:38 +02:00
%.o: %.cpp
$(CXX) -DwxUSE_GUI=0 $(CFLAGS) -I../Common -c -o $@ $<
$(CXX) -MM -DwxUSE_GUI=0 $(CFLAGS) -I../Common $< > $*.d
2018-05-15 20:32:38 +02:00
.PHONY: install
2018-05-15 22:19:47 +02:00
install:
install -g bin -o root -m 0775 texttransmitd $(BINDIR)
2018-05-15 22:19:47 +02:00
.PHONY: clean
2018-05-15 20:32:38 +02:00
clean:
$(RM) texttransmitd *.o *.d *.bak *~
2018-05-15 20:32:38 +02:00
../Common/Common.a: