home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 October
/
usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso
/
misc
/
volume32
/
xv_ping
/
part01
/
Makefile
< prev
next >
Wrap
Makefile
|
1992-09-28
|
645b
|
44 lines
#
# Makefile for xv_ping version 1.0
#
#
#These should point to where your X11 include files and libraries reside.
XVIEWINCLUDE= /udir/gnn/include
X11LIB= /udir/gnn/lib
CFLAGS= -I$(XVIEWINCLUDE) -g
LDFLAGS= -L$(X11LIB)
CC= cc
SRCS= xv_ping.c hping.c
OBJS= xv_ping.o hping.o
BINS= xv_ping
LIBS= -lxview -lolgx -lX11
DOCS= xv_ping.8
ICONS=xv_ping.icon up.icon down.icon
all: $(OBJS)
$(CC) -o xv_ping $(OBJS) $(LDFLAGS) $(LIBS)
.o: $(OBJS)
.c: $(SRCS)
$(CC) -c $< $(CFLAGS)
tar:
tar cvf xv_ping.tar $(SRCS) $(DOCS) $(ICONS) Makefile README
compress xv_ping.tar
clean:
- rm *.o *~ *.BAK
realclean:
- rm *.o *~ *.BAK $(BINS)