Changeset edfd1d0 in network-game for server/makefile


Ignore:
Timestamp:
Dec 25, 2012, 6:27:14 PM (12 years ago)
Author:
dportnoy <dmp1488@…>
Branches:
master
Children:
4c202e0
Parents:
baaf6c8
Message:

Moved the Player class to the common directory, added a position to Player, added a new message type for sending player info, and made the server broadcast player positions everytime it receives and replies to a message

File:
1 edited

Legend:

Unmodified
Added
Removed
  • server/makefile

    rbaaf6c8 redfd1d0  
    33FLAGS = $(LIB_FLAGS)
    44COMMON_PATH = ../common
    5 DEPENDENCIES = Message.o Player.o DataAccess.o
     5DEPENDENCIES = Common.o Message.o Player.o DataAccess.o
    66
    77server : server.cpp $(DEPENDENCIES)
    88        $(CC) -o $@ $+ $(FLAGS)
    99
     10Common.o : $(COMMON_PATH)/Common.cpp
     11        $(CC) -c -o $@ $?
     12
    1013Message.o : $(COMMON_PATH)/Message.cpp
     14        $(CC) -c -o $@ $?
     15
     16Player.o : $(COMMON_PATH)/Player.cpp
    1117        $(CC) -c -o $@ $?
    1218
Note: See TracChangeset for help on using the changeset viewer.