From ac1571ff35e0bc3fc0c3993a95bfd3c574dee61a Mon Sep 17 00:00:00 2001 From: Piotr Dymacz Date: Mon, 20 Jan 2014 01:33:11 +0100 Subject: [PATCH] Just small fixes --- u-boot/httpd/Makefile | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/u-boot/httpd/Makefile b/u-boot/httpd/Makefile index 738f67c..c4ddbd9 100755 --- a/u-boot/httpd/Makefile +++ b/u-boot/httpd/Makefile @@ -2,27 +2,20 @@ # Makefile for http stuff # -#include $(TOPDIR)/config.mk - -CFLAGS += -I../include -I../httpd +include $(TOPDIR)/config.mk LIB = libhttpd.a - OBJS += uip.o uip_arch.o uip_arp.o httpd.o fs.o -all: $(LIB) - -$(LIB): $(START) $(OBJS) - $(AR) crv $@ $(OBJS) - +all: $(LIB) -#%.o: -# $(CC) $(CFLAGS) -c $(<:.o=.c) +$(LIB): $(START) $(OBJS) + $(AR) crv $@ $(OBJS) ######################################################################### .depend: Makefile $(OBJS:.o=.c) - $(CC) -M $(CFLAGS) $(OBJS:.o=.c) > $@ + $(CC) -M $(CFLAGS) $(OBJS:.o=.c) > $@ sinclude .depend -- 2.25.1