Makefile 4.36 KB

CC = gcc
GCCFLAGS = -Wall

CFLAGS =   -O -g  -I.  $(GCCFLAGS)

UTILSRCS = List_Init.c List_Insert.c List_ListInsert.c List_Move.c List_Remove.c Hash.c HashChainSearch.c Hash_CreateEntry.c Hash_DeleteEntry.c Hash_DeleteTable.c Hash_EnumFirst.c Hash_EnumNext.c Hash_FindEntry.c Hash_InitTable.c Hash_PrintStats.c panic.c arpd.c

SRCS = ethersim.c $(UTILSRCS)
OBJS = $(SRCS:.c=.o)

ethersim: $(OBJS)
	$(CC) -g -o ethersim $(OBJS)

clean:
	rm -f $(OBJS)
depend:
	makedepend -- $(CFLAGS) -- $(SRCS)
# DO NOT DELETE THIS LINE -- make depend depends on it.

ethersim.o: /usr/include/sys/types.h
ethersim.o: /usr/local/lib/gcc-include/sys/stdtypes.h
ethersim.o: /usr/include/sys/sysmacros.h /usr/include/sys/param.h
ethersim.o: /usr/include/machine/param.h /usr/include/machine/devaddr.h
ethersim.o: /usr/include/sys/signal.h /usr/include/vm/faultcode.h
ethersim.o: /usr/include/sys/stat.h /usr/include/sys/ioctl.h
ethersim.o: /usr/local/lib/gcc-include/sys/ttychars.h
ethersim.o: /usr/include/sys/ttydev.h /usr/local/lib/gcc-include/sys/ttold.h
ethersim.o: /usr/local/lib/gcc-include/sys/ioccom.h
ethersim.o: /usr/local/lib/gcc-include/sys/ttycom.h
ethersim.o: /usr/local/lib/gcc-include/sys/filio.h
ethersim.o: /usr/local/lib/gcc-include/sys/sockio.h /usr/include/sys/socket.h
ethersim.o: /usr/include/sys/file.h /usr/include/sys/fcntlcom.h
ethersim.o: /usr/include/sys/wait.h /usr/include/sys/time.h
ethersim.o: /usr/include/sys/time.h /usr/include/net/if.h
ethersim.o: /usr/local/lib/gcc-include/net/nit_if.h
ethersim.o: /usr/local/lib/gcc-include/net/nit_pf.h
ethersim.o: /usr/local/lib/gcc-include/net/nit_buf.h
ethersim.o: /usr/include/net/packetfilt.h /usr/include/netinet/in_systm.h
ethersim.o: /usr/include/netinet/in.h /usr/include/netinet/ip.h
ethersim.o: /usr/include/netinet/if_ether.h /usr/include/net/if_arp.h
ethersim.o: /usr/include/arpa/inet.h /usr/include/stdio.h
ethersim.o: /usr/include/signal.h /usr/include/pwd.h /usr/include/setjmp.h
ethersim.o: /usr/include/netdb.h /usr/include/errno.h
ethersim.o: /usr/include/sys/errno.h /usr/include/strings.h
ethersim.o: /usr/local/lib/gcc-include/varargs.h
ethersim.o: /usr/local/lib/gcc-include/stropts.h /usr/include/poll.h
ethersim.o: /usr/include/search.h /usr/include/memory.h /usr/include/stdlib.h
ethersim.o: /usr/include/unistd.h hash.h list.h sprite.h cfuncproto.h
ethersim.o: ethersim.h
List_Init.o: /usr/include/stdio.h list.h sprite.h cfuncproto.h
List_Insert.o: /usr/include/stdio.h list.h sprite.h cfuncproto.h
List_ListInsert.o: /usr/include/stdio.h list.h sprite.h cfuncproto.h
List_Move.o: /usr/include/stdio.h list.h sprite.h cfuncproto.h
List_Remove.o: /usr/include/stdio.h list.h sprite.h cfuncproto.h
Hash.o: hash.h list.h sprite.h cfuncproto.h
HashChainSearch.o: hash.h list.h sprite.h cfuncproto.h
Hash_CreateEntry.o: hash.h list.h sprite.h cfuncproto.h /usr/include/stdlib.h
Hash_CreateEntry.o: /usr/local/lib/gcc-include/sys/stdtypes.h
Hash_CreateEntry.o: /usr/include/string.h
Hash_DeleteEntry.o: hash.h list.h sprite.h cfuncproto.h /usr/include/stdlib.h
Hash_DeleteEntry.o: /usr/local/lib/gcc-include/sys/stdtypes.h
Hash_DeleteTable.o: hash.h list.h sprite.h cfuncproto.h /usr/include/stdlib.h
Hash_DeleteTable.o: /usr/local/lib/gcc-include/sys/stdtypes.h
Hash_EnumFirst.o: hash.h list.h sprite.h cfuncproto.h
Hash_EnumNext.o: hash.h list.h sprite.h cfuncproto.h
Hash_FindEntry.o: hash.h list.h sprite.h cfuncproto.h
Hash_InitTable.o: hash.h list.h sprite.h cfuncproto.h /usr/include/stdlib.h
Hash_InitTable.o: /usr/local/lib/gcc-include/sys/stdtypes.h
Hash_PrintStats.o: hash.h list.h sprite.h cfuncproto.h /usr/include/stdio.h
panic.o: /usr/include/stdio.h /usr/include/stdlib.h
panic.o: /usr/local/lib/gcc-include/sys/stdtypes.h
panic.o: /usr/local/lib/gcc-include/varargs.h
arpd.o: /usr/include/stdio.h /usr/include/stdlib.h
arpd.o: /usr/local/lib/gcc-include/sys/stdtypes.h /usr/include/string.h
arpd.o: /usr/include/errno.h /usr/include/sys/errno.h
arpd.o: /usr/include/sys/types.h /usr/include/sys/sysmacros.h
arpd.o: /usr/include/sys/socket.h /usr/include/net/if_arp.h
arpd.o: /usr/include/netinet/in.h /usr/include/sys/file.h
arpd.o: /usr/include/sys/fcntlcom.h /usr/include/sys/stat.h
arpd.o: /usr/include/sys/param.h /usr/include/machine/param.h
arpd.o: /usr/include/machine/devaddr.h /usr/include/sys/signal.h
arpd.o: /usr/include/vm/faultcode.h /usr/include/sys/time.h
arpd.o: /usr/include/sys/time.h /usr/include/net/if.h
arpd.o: /usr/include/netinet/if_ether.h