diff --git a/BUGS b/BUGS new file mode 100644 index 0000000..697d704 --- /dev/null +++ b/BUGS @@ -0,0 +1 @@ + * Getting the IP devices on Darwin/OS 10.4.11 results in way too many IPs with bogus info. This may stem from IPv6 addresses being read into IPv4 spaces. diff --git a/Makefile b/Makefile index 8f4e4cf..b6fa4f3 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,9 @@ +CC = gcc PREFIX=./ OBJS = main.o net.o common.o CON_OBJS = con/console.o -CC = gcc +X11_OBJS = x11/x11.o +X11_LFLAGS = -L/usr/X11R6/lib -lX11 DEBUG = -g CFLAGS = -Wall -c $(DEBUG) LFLAGS = -Wall $(DEBUG) @@ -12,8 +14,6 @@ else LFLAGS += -lsocket -lnsl endif endif -X11_OBJS = x11/x11.o -X11_LFLAGS = -L/usr/X11R6/lib -lX11 ccast: $(OBJS) $(CON_OBJS) $(CC) $(OBJS) $(CON_OBJS) $(LFLAGS) -o ccast @@ -24,7 +24,7 @@ xcast: $(OBJS) $(X11_OBJS) all: bcast ccast xcast clean: - rm $(OBJS) $(CON_OBJS) $(X11_OBJS) ccast xcast + rm -f $(OBJS) $(CON_OBJS) $(X11_OBJS) ccast xcast net.o: net.c net.h macros.h $(CC) $(CFLAGS) -c net.c diff --git a/ccast b/ccast new file mode 100755 index 0000000..80e62e4 Binary files /dev/null and b/ccast differ diff --git a/common.o b/common.o new file mode 100644 index 0000000..1eb66ca Binary files /dev/null and b/common.o differ diff --git a/con/console.o b/con/console.o new file mode 100644 index 0000000..7230619 Binary files /dev/null and b/con/console.o differ diff --git a/main.o b/main.o new file mode 100644 index 0000000..6831710 Binary files /dev/null and b/main.o differ diff --git a/net.o b/net.o new file mode 100644 index 0000000..37a1282 Binary files /dev/null and b/net.o differ