Changeset 445 for trunk/libs/libalmosmkh/Makefile
- Timestamp:
- May 29, 2018, 9:27:23 AM (7 years ago)
- Location:
- trunk/libs/libalmosmkh
- Files:
-
- 1 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/libs/libalmosmkh/Makefile
r444 r445 1 1 ############################################################################ 2 # Makefile for the ALMOS-MKH "mini-libc"#2 # Makefile for the ALMOS-MKH specific library # 3 3 ############################################################################ 4 4 5 5 -include ../../params-soft.mk 6 6 7 ifeq ($(ARCH_NAME),) 7 8 $(error Please define in ARCH_NAME parameter in params-soft.mk!) 8 9 endif 9 10 10 SRCS = almos -mkh.c almos-mkh-memory.c11 SRCS = almosmkh.c 11 12 12 13 OBJS = $(addprefix build/, $(SRCS:.c=.o)) \ 13 14 $(HAL_ARCH)/build/core/hal_user.o 14 15 15 INCLUDES = -I. -I$(HAL)/generic -I$(LIBC_INCLUDE) -I$(SHARED_INCLUDE) -I$(LIBPTHREAD_INCLUDE) 16 INCLUDES = -I. \ 17 -I$(LIBC_PATH) \ 18 -I$(LIBPTHREAD_PATH) \ 19 -I$(SHARED_INCLUDE) \ 20 -I$(HAL)/generic \ 21 -I$(HAL_ARCH)/core \ 22 -I$(KERNEL) 16 23 17 libs : build/lib/libalmos -mkh.a build/include/almos-mkh.h24 libs : build/lib/libalmosmkh.a headers 18 25 19 26 build : … … 25 32 $(MAKE) -C $(HAL_ARCH) 26 33 27 28 build/%.o : %.c 34 build/%.o : %.c %.h 29 35 $(CC) $(INCLUDES) $(CFLAGS) -c -o $@ $< 30 36 $(DU) -D $@ > $@.txt 31 37 32 38 headers: build 33 cp almos-mkh.h build/include/. 34 build/lib/libalmos-mkh.a: build $(OBJS) 39 cp $(SRCS:.c=.h) build/include/. 40 41 build/lib/libalmosmkh.a: build $(OBJS) 35 42 $(AR) rc $@ $(OBJS) 36 ranlib$@43 $(RANLIB) $@ 37 44 38 .PHONY = build clean 39 45 .PHONY = build clean headers 40 46 41 47 clean:
Note: See TracChangeset
for help on using the changeset viewer.