DEADSOFTWARE

Game: subtraction points by suicide in team
[d2df-sdl.git] / src / mastersrv / Makefile
1 CC:=gcc
2 CFLAGS:=-std=c99 -Wall -Werror -pedantic -O2
3 SOURCES:=master.c
4 ifeq ($(OS),Windows_NT)
5 BIN:=bin\\d2df_master.exe
6 DEL:=del
7 LDFLAGS:=-lenet -lws2_32 -lwinmm -static-libgcc
8 else
9 BIN:=bin/d2df_master
10 DEL:=rm -f
11 LDFLAGS:=-lenet
12 CFLAGS += -Llibs -I.
13 endif
15 all: master
17 master:
18 $(CC) $(CFLAGS) -o $(BIN) $(SOURCES) $(LDFLAGS)
20 clean:
21 $(DEL) *.o $(BIN)