Makefile
20 lines
| 506 B
| text/x-makefile
|
MakefileLexer
r6 | ||||
PROJECTDIR = `pwd` | ||||
LIBUC = /opt/libuc2 | ||||
HEADERSINSTALLPATH = $(LIBUC_INC_DIR)/IIC | ||||
HEADERS += iic.h | ||||
LIBSOURCES += iic.c | ||||
OBJECTFILES = $(LIBSOURCES:.c=.o) | ||||
r9 | ARCH = lpc17XX-arm-noabi-gcc | |||
ARCHFOLDER = $(LIBUC)/rules/lpc17XX-arm-noabi-gcc | ||||
r6 | TARGET=libiic | |||
r9 | LIBUC_INCLUDES=$(LIBUC_INC_DIR_CORE_CMD) | |||
LIBUC_LIBRARIES=$(LIBUC_LIBS_DIR_CORE_CMD) $(LIBUC_LIBS_CORE) | ||||
r6 | TARGETINSTALLPATH=$(LIBUC_LIBS_DIR)/IIC | |||
HEADERSINSTALLPATH=$(LIBUC_INC_DIR)/IIC | ||||
BSP=generic | ||||
r9 | include $(ARCHFOLDER)/rules.mk | |||
r6 | ||||
all:lib | ||||
@echo Code compiled | ||||