diff --git a/tools/bootutil/Makefile b/tools/bootutil/Makefile index 61ce2c4a..bb33446c 100644 --- a/tools/bootutil/Makefile +++ b/tools/bootutil/Makefile @@ -1,5 +1,5 @@ TARGET = bootutil -#LIBS = -lm +LIBS = -lncurses CC = gcc CFLAGS = -g -Wall @@ -17,7 +17,7 @@ HEADERS = $(wildcard *.h) .PRECIOUS: $(TARGET) $(OBJECTS) $(TARGET): $(OBJECTS) - $(CC) $(OBJECTS) -Wall $(LIBS) -o $@ + $(CC) $(OBJECTS) -Wall -o $@ $(LIBS) clean: -rm -f *.o