makefile hints

This commit is contained in:
Mariano Alvira 2010-02-26 07:16:06 -05:00
parent 0c4f5c61ef
commit bfe8814c90
3 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,4 @@
# -*- makefile -*-
LINKERSCRIPT := $(MC1322X)/mc1322x.lds LINKERSCRIPT := $(MC1322X)/mc1322x.lds
LIBMC1322X := $(MC1322X)/libmc1322x LIBMC1322X := $(MC1322X)/libmc1322x

View File

@ -1,3 +1,5 @@
# -*- makefile -*-
#BOARDS := redbee-dev redbee-module redbee-r1 redbee-usb redbee-econotag #BOARDS := redbee-dev redbee-module redbee-r1 redbee-usb redbee-econotag
BOARDS := redbee-dev redbee-r1 BOARDS := redbee-dev redbee-r1
@ -16,4 +18,4 @@ endif
$(OBJDIR)/board.h: $(OBJDIR) $(OBJDIR)/board.h: $(OBJDIR)
ln -sf ../$(MC1322X)/board/$(BOARD).h $(OBJDIR)/board.h ln -sf ../$(MC1322X)/board/$(BOARD).h $(OBJDIR)/board.h
touch $(OBJDIR)/board.h touch $(OBJDIR)/board.h

View File

@ -1,3 +1,5 @@
# -*- makefile -*-
CFLAGS += -I$(LIBMC1322X)/include CFLAGS += -I$(LIBMC1322X)/include
LIBOBJS = $(patsubst %.c,%.o,$(wildcard $(LIBMC1322X)/*.c)) LIBOBJS = $(patsubst %.c,%.o,$(wildcard $(LIBMC1322X)/*.c))