Changeset 2488852 in network-game for server/makefile


Ignore:
Timestamp:
Nov 26, 2012, 5:45:25 PM (12 years ago)
Author:
dportnoy <dmp1488@…>
Branches:
master
Children:
0cc431d
Parents:
6475138
Message:

Added the player class, added a list of logged-in players, and changed the makefile to work properly, and made git ignore all build artifacts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • server/makefile

    r6475138 r2488852  
    1 server : ../common/message.cpp server.cpp
    2         g++ -o $@ $? -lssl -lmysqlclient
     1CC = g++
     2LIB_FLAGS = -lssl -lmysqlclient
     3FLAGS = $(LIB_FLAGS)
     4COMMON_PATH = ../common
     5DEPENDENCIES = message.o player.o
     6
     7server : server.cpp $(DEPENDENCIES)
     8        $(CC) -o $@ $+ $(FLAGS)
     9
     10message.o : $(COMMON_PATH)/message.cpp
     11        $(CC) -c -o $@ $?
     12
     13%.o : %.cpp
     14        $(CC) -c -o $@ $?
     15
     16clean:
     17        rm *.o
     18        rm server
Note: See TracChangeset for help on using the changeset viewer.