home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 35 Internet
/
35-Internet.zip
/
ping11.zip
/
makefile
< prev
next >
Wrap
Makefile
|
1995-03-03
|
906b
|
40 lines
#
# ping makefile for GNU Make 95/03/03
#
CC=gcc
OPT0=-s -O3 -m486 -Zomf -Zcrtdll -pipe -ZC++-comments
OPT1=-DOS2 -D__EMX__ -D__32BIT__ -Zbsd-signals
OPT2=-fforce-addr -fforce-mem
OPT3=-ffast-math
OPT4=-fomit-frame-pointer
OPT5=-funroll-loops
OPT6=-funroll-all-loops
OPT7=-fkeep-inline-functions
ASMOPT=-fverbose-asm
LDFLAGS=$(OPT0) $(OPT1) -los2 -lwrap -lsocket -T 0x10000 -Zlinker /ALIGN:4 -Zlinker /EXEPACK -Zlinker /PACKDATA -Zmap -Zlinker /map
LDDLLFLAGS=$(OPT0) $(OPT1) -lwrap -Zlinker /ALIGN:4 -Zlinker /EXEPACK -Zlinker /PACKDATA -Zmap -Zlinker /map
CFLAGS=$(OPT0) $(OPT1) $(OPT2) $(OPT4) $(OPT5)
objs = ping.obj
.PHONY: all
all: ping.exe
ping.exe : $(objs)
$(CC) $(LDFLAGS) $(objs) $(LOADLIBES) -o $@ ping.def
eautil ping.exe nul /S
# -I. is needed to find config.h in the build directory.
%.obj: %.c
$(CC) $(CFLAGS) -c $< $(OUTPUT_OPTION)