diff Makefile @ 31:7d3f0ff39878

Add another warning check and a missing dependency.
author Rob Landley <rob@landley.net>
date Sat, 25 Nov 2006 13:32:01 -0500
parents 414625f97667
children b707dfcd403c
line wrap: on
line diff
--- a/Makefile	Sat Nov 25 02:11:10 2006 -0500
+++ b/Makefile	Sat Nov 25 13:32:01 2006 -0500
@@ -1,7 +1,7 @@
 # Makefile for toybox.
 # Copyright 2006 Rob Landley <rob@landley.net>
 
-CFLAGS  = -Wall -Os -s
+CFLAGS  = -Wall -Wundef -Os -s
 CC      = $(CROSS_COMPILE)gcc $(CFLAGS)
 HOST_CC = gcc $(CFLAGS)
 
@@ -28,7 +28,7 @@
 # Actual build
 
 toyfiles = main.c toys/*.c lib/*.c
-toybox: gen_config.h $(toyfiles) lib/lib.h toys.h
+toybox: gen_config.h $(toyfiles) toys/toylist.h lib/lib.h toys.h
 	$(CC) -Wall -Os -s -funsigned-char $(CFLAGS) -I . \
 		$(toyfiles) -o toybox -ffunction-sections -fdata-sections -Wl,--gc-sections