Changeset 949cf70 in network-game for server


Ignore:
Timestamp:
Jan 20, 2014, 5:08:29 PM (11 years ago)
Author:
dportnoy <dmp1488@…>
Branches:
master
Children:
5b92307
Parents:
9ba9b96
Message:

Server makefile uses -Wall to compile all files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • server/makefile

    r9ba9b96 r949cf70  
    22#LIB_FLAGS = -lssl -lmysqlclient -lcrypt -lrt
    33LIB_FLAGS = -lmysqlclient -lcrypt -lrt
    4 FLAGS = -Wall $(LIB_FLAGS)
     4FLAGS = -Wall
    55COMMON_PATH = ../common
    66DEPENDENCIES = Common.o MessageContainer.o MessageProcessor.o Player.o WorldMap.o DataAccess.o Projectile.o Game.o GameSummary.o
    77
    88server : server.cpp $(DEPENDENCIES)
    9         $(CC) -o $@ $+ $(FLAGS)
     9        $(CC) -o $@ $+ $(FLAGS) $(LIB_FLAGS)
    1010
    1111Common.o : $(COMMON_PATH)/Common.cpp
    12         $(CC) -c -o $@ $?
     12        $(CC) -c -o $@ $? $(FLAGS)
    1313
    1414MessageContainer.o : $(COMMON_PATH)/MessageContainer.cpp
    15         $(CC) -c -o $@ $?
     15        $(CC) -c -o $@ $? $(FLAGS)
    1616
    1717MessageProcessor.o : $(COMMON_PATH)/MessageProcessor.cpp
    18         $(CC) -c -o $@ $?
     18        $(CC) -c -o $@ $? $(FLAGS)
    1919
    2020Player.o : $(COMMON_PATH)/Player.cpp
    21         $(CC) -c -o $@ $?
     21        $(CC) -c -o $@ $? $(FLAGS)
    2222
    2323WorldMap.o : $(COMMON_PATH)/WorldMap.cpp
    24         $(CC) -c -o $@ $?
     24        $(CC) -c -o $@ $? $(FLAGS)
    2525
    2626Projectile.o : $(COMMON_PATH)/Projectile.cpp
    27         $(CC) -c -o $@ $?
     27        $(CC) -c -o $@ $? $(FLAGS)
    2828
    2929Game.o : $(COMMON_PATH)/Game.cpp
    30         $(CC) -c -o $@ $?
     30        $(CC) -c -o $@ $? $(FLAGS)
    3131
    3232GameSummary.o : $(COMMON_PATH)/GameSummary.cpp
    33         $(CC) -c -o $@ $?
     33        $(CC) -c -o $@ $? $(FLAGS)
    3434
    3535%.o : %.cpp
    36         $(CC) -c -o $@ $?
     36        $(CC) -c -o $@ $? $(FLAGS)
    3737
    3838clean:
Note: See TracChangeset for help on using the changeset viewer.