##// END OF EJS Templates
LFR's Leon3 target added and and tested with simple hello world.
LFR's Leon3 target added and and tested with simple hello world.

File last commit:

r12:cc0fb1c881c0 default
r13:8ca866292111 default
Show More
lpc21XX.mk
29 lines | 665 B | text/x-makefile | MakefileLexer
just backup
r12 PROJECTDIR = `pwd`
LIBUC = /opt/libuc2
HEADERSINSTALLPATH = $(LIBUC_INC_DIR_UHANDLE)
HEADERS += uhandle.h
LIBSOURCES += uhandle.c
OBJDIR = obj
BINDIR = bin
OBJECTFILES = $(LIBSOURCES:.c=.o)
OBJECTFILES := $(addprefix $(OBJDIR)/,$(OBJECTFILES))
ARCH = lpc21XX-arm-noabi-gcc
ARCHFOLDER = $(LIBUC)/rules/lpc21XX-arm-noabi-gcc
TARGET=libuhandle
LIBUC_INCLUDES=
LIBUC_LIBRARIES=
TARGETINSTALLPATH=$(LIBUC_LIBS_DIR_UHANDLE)
HEADERSINSTALLPATH=$(LIBUC_INC_DIR_UHANDLE)
BSP=generic
include $(ARCHFOLDER)/rules.mk
all:lib
@echo Code compiled
clean:
rm -f $(OBJDIR)/*.o
rm -f $(TARGETINSTALLPATH)/*.a
rm -f $(HEADERSINSTALLPATH)/*.h
rm -f $(DEVSOURCESND)
rm -f *.d