lpc17XX.mk
26 lines
| 931 B
| text/x-makefile
|
MakefileLexer
r12 | PROJECTDIR = `pwd` | |||
LIBUC = /opt/libuc2 | ||||
HEADERSINSTALLPATH = $(LIBUC_INC_DIR_SDCARD) | ||||
HEADERS += sdcard.h | ||||
LIBSOURCES += sdcard.c | ||||
OBJDIR = obj | ||||
BINDIR = bin | ||||
OBJECTFILES = $(LIBSOURCES:.c=.o) | ||||
OBJECTFILES := $(addprefix $(OBJDIR)/,$(OBJECTFILES)) | ||||
ARCH = lpc17XX-arm-noabi-gcc | ||||
ARCHFOLDER = $(LIBUC)/rules/lpc17XX-arm-noabi-gcc | ||||
TARGET=libsdcard | ||||
LIBUC_INCLUDES=$(LIBUC_INC_DIR_SSP_CMD) $(LIBUC_INC_DIR_BLKDEVICE_CMD) $(LIBUC_INC_DIR_UCSTRINGS_CMD) $(LIBUC_INC_DIR_UHANDLE_CMD) | ||||
LIBUC_LIBRARIES=$(LIBUC_LIBS_DIR_SSP_CMD) $(LIBUC_LIBS_SSP) $(LIBUC_LIBS_DIR_BLKDEVICE_CMD) $(LIBUC_LIBS_BLKDEVICE) $(LIBUC_LIBS_DIR_UCSTRINGS_CMD) $(LIBUC_LIBS_UCSTRINGS) $(LIBUC_LIBS_DIR_UHANDLE_CMD) $(LIBUC_LIBS_UHANDLE) | ||||
TARGETINSTALLPATH=$(LIBUC_LIBS_DIR_SDCARD) | ||||
HEADERSINSTALLPATH=$(LIBUC_INC_DIR_SDCARD) | ||||
BSP=generic | ||||
include $(ARCHFOLDER)/rules.mk | ||||
all:lib | ||||
@echo Code compiled | ||||
|
r14 | libclean: | ||
r12 | rm -f $(TARGETINSTALLPATH)/*.a | |||
rm -f $(HEADERSINSTALLPATH)/*.h | ||||