Minor changes to the Makefile and added a BUGS file
parent
d2b8e963e5
commit
f85f19de4e
|
@ -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.
|
8
Makefile
8
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
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue