Minor changes to the Makefile and added a BUGS file

master
Meegwun Southall 2013-08-02 03:50:05 -07:00 committed by kts@vger
parent d2b8e963e5
commit f85f19de4e
7 changed files with 5 additions and 4 deletions

1
BUGS 100644
View File

@ -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.

View File

@ -1,7 +1,9 @@
CC = gcc
PREFIX=./ PREFIX=./
OBJS = main.o net.o common.o OBJS = main.o net.o common.o
CON_OBJS = con/console.o CON_OBJS = con/console.o
CC = gcc X11_OBJS = x11/x11.o
X11_LFLAGS = -L/usr/X11R6/lib -lX11
DEBUG = -g DEBUG = -g
CFLAGS = -Wall -c $(DEBUG) CFLAGS = -Wall -c $(DEBUG)
LFLAGS = -Wall $(DEBUG) LFLAGS = -Wall $(DEBUG)
@ -12,8 +14,6 @@ else
LFLAGS += -lsocket -lnsl LFLAGS += -lsocket -lnsl
endif endif
endif endif
X11_OBJS = x11/x11.o
X11_LFLAGS = -L/usr/X11R6/lib -lX11
ccast: $(OBJS) $(CON_OBJS) ccast: $(OBJS) $(CON_OBJS)
$(CC) $(OBJS) $(CON_OBJS) $(LFLAGS) -o ccast $(CC) $(OBJS) $(CON_OBJS) $(LFLAGS) -o ccast
@ -24,7 +24,7 @@ xcast: $(OBJS) $(X11_OBJS)
all: bcast ccast xcast all: bcast ccast xcast
clean: 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 net.o: net.c net.h macros.h
$(CC) $(CFLAGS) -c net.c $(CC) $(CFLAGS) -c net.c

BIN
ccast 100755

Binary file not shown.

BIN
common.o 100644

Binary file not shown.

BIN
con/console.o 100644

Binary file not shown.

BIN
main.o 100644

Binary file not shown.

BIN
net.o 100644

Binary file not shown.