changeset 6:be3ccb7ca790

Improve build.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 25 Sep 2014 01:58:48 +0300
parents 2892e994243c
children 36c43f085b28
files Makefile
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Thu Sep 25 01:58:43 2014 +0300
+++ b/Makefile	Thu Sep 25 01:58:48 2014 +0300
@@ -30,8 +30,8 @@
 include Makefile.gen
 
 
-$(ENDIANCHK_BIN): endianchk.o
-	$(CC) $(CFLAGS) -o $@ $+ $(LDFLAGS)
+$(ENDIANCHK_BIN): endianchk.c
+	$(CC) $(CFLAGS) -o $@ $+
 
 config.h: $(ENDIANCHK_BIN)
 	$(ENDIANCHK_BIN) > $@