mirror of
https://github.com/g4klx/ircDDBGateway.git
synced 2026-04-06 23:04:09 +00:00
Only build CLI versions except for when needed.
This commit is contained in:
parent
758d093bd5
commit
0f3c92b67a
12 changed files with 71 additions and 75 deletions
|
|
@ -1,16 +1,16 @@
|
|||
OBJECTS = TextTransmit.o
|
||||
|
||||
all: texttransmit
|
||||
all: texttransmitd
|
||||
|
||||
texttransmit: $(OBJECTS)
|
||||
$(CXX) $(OBJECTS) ../Common/Common.a $(LDFLAGS) $(LIBS) -o texttransmit
|
||||
texttransmitd: $(OBJECTS)
|
||||
$(CXX) $(OBJECTS) ../Common/Common.a $(LDFLAGS) $(LIBS) -o texttransmitd
|
||||
|
||||
%.o: %.cpp
|
||||
$(CXX) $(CFLAGS) -I../Common -c -o $@ $<
|
||||
$(CXX) -DwxUSE_GUI=0 $(CFLAGS) -I../Common -c -o $@ $<
|
||||
|
||||
install:
|
||||
install -g bin -o root -m 0775 texttransmit $(BINDIR)
|
||||
install -g bin -o root -m 0775 texttransmitd $(BINDIR)
|
||||
|
||||
clean:
|
||||
$(RM) texttransmit *.o *.d *.bak *~
|
||||
$(RM) texttransmitd *.o *.d *.bak *~
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue