1 .PHONY
= all clean win32 linux
7 CFLAGS
= -Wall
-pedantic
-g
9 WIN_OUTPUT
= sendelf.exe
10 WIN_CC
= i686-mingw32-gcc
13 WIN_CFLAGS
= -Wall
-pedantic
-g
14 WIN_LDFLAGS
= -lwsock32
23 rm -f
$(OBJS
) $(WIN_OBJS
) $(OUTPUT
) $(WIN_OUTPUT
)
28 $(WIN_OUTPUT
): $(WIN_OBJS
)
29 $(WIN_CC
) -o
$@
$< $(WIN_LDFLAGS
)
32 $(WIN_CC
) $(WIN_CFLAGS
) -c
-o
$@
$<
35 gcc
$(CFLAGS
) -c
-o
$@
$<