2018-05-15 20:32:38 +02:00
|
|
|
OBJECTS = StarNetServerApp.o StarNetServerCallsignSet.o StarNetServerConfig.o StarNetServerFrame.o StarNetServerIrcDDBSet.o \
|
|
|
|
|
StarNetServerLogRedirect.o StarNetServerMiscellaneousSet.o StarNetServerPreferences.o StarNetServerThread.o \
|
|
|
|
|
StarNetServerThreadHelper.o
|
|
|
|
|
|
|
|
|
|
all: starnetserver
|
|
|
|
|
|
|
|
|
|
starnetserver: $(OBJECTS)
|
|
|
|
|
$(CXX) $(OBJECTS) ../GUICommon/GUICommon.a ../Common/Common.a ../ircDDB/IRCDDB.a $(LDFLAGS) $(LIBS) -o starnetserver
|
|
|
|
|
|
|
|
|
|
%.o: %.cpp
|
|
|
|
|
$(CXX) $(CFLAGS) -I../Common -I../GUICommon -I../ircDDB -c -o $@ $<
|
|
|
|
|
|
2018-05-15 22:19:47 +02:00
|
|
|
install:
|
|
|
|
|
install -g bin -o root -m 0775 starnetserver $(BINDIR)
|
|
|
|
|
|
2018-05-15 20:32:38 +02:00
|
|
|
clean:
|
|
|
|
|
$(RM) starnetserver *.o *.d *.bak *~
|
|
|
|
|
|