DEADSOFTWARE
GIT
/
REPO
/
FRED-BOY
Projects
/
d2df-sdl.git
/ blob
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
utils: game: backslash is windoze-specific path separator
[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
14
15
all
:
master
16
17
master
:
18
$(
CC
) $(
CFLAGS
) -
o
$(
BIN
) $(
SOURCES
) $(
LDFLAGS
)
19
20
clean
:
21
$(
DEL
) *
.o
$(
BIN
)