aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2006-11-25 13:32:01 -0500
committerRob Landley <rob@landley.net>2006-11-25 13:32:01 -0500
commitf06af2bef5fe73c4ff50ed177fab244ed9db9182 (patch)
treee3122ea0de69346f039c558e6d86a5832e34db88 /Makefile
parent8167fd5d543332fec86e87ae8a0d0eafb9eef7de (diff)
downloadtoybox-f06af2bef5fe73c4ff50ed177fab244ed9db9182.tar.gz
Add another warning check and a missing dependency.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 881e2c30..f7352f1e 100644
--- a/Makefile
+++ b/Makefile
@@ -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 @@ gen_config.h: .config
# 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