Changeset 444 for trunk/libs/mini-libpthread/Makefile
- Timestamp:
- May 16, 2018, 8:31:35 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libs/mini-libpthread/Makefile
r440 r444 9 9 10 10 SRCS = pthread.c 11 OBJS = $(addprefix build/, $(SRCS:.c=.o)) \ 12 $(HAL_ARCH)/build/core/hal_user.o 13 OBJS_LIBC = ../mini-libc/build/malloc.o ../mini-libc/build/stdlib.o ../mini-libc/build/stdio.o 11 OBJS = $(addprefix build/, $(SRCS:.c=.o)) 12 # $(HAL_ARCH)/build/core/hal_user.o 14 13 15 INCLUDES = -I. -I$( KERNEL)/syscalls -I$(HAL)/generic -I../mini-libc14 INCLUDES = -I. -I$(HAL)/generic -I$(LIBC_INCLUDE) -I$(LIBALMOSMKH_INCLUDE) -I$(SHARED_INCLUDE) 16 15 17 libs : build/lib/libpthread.a 16 libs : build/lib/libpthread.a headers 18 17 19 18 build : … … 32 31 $(DU) -D $@ > $@.txt 33 32 33 headers: build 34 cp $(SRCS:.c=.h) build/include/. 35 36 34 37 build/lib/libpthread.a: build $(OBJS) 35 $(AR) rc $@ $(OBJS) $(OBJS_LIBC)38 $(AR) rc $@ $(OBJS) #$(OBJS_LIBC) 36 39 $(RANLIB) $@ 37 cp $(SRCS:.c=.h) $(HAL)/generic/hal_user.h $(KERNEL)/syscalls/shared_syscalls.h build/include/.38 40 39 .PHONY = build clean 41 .PHONY = build clean headers 40 42 41 43 42 44 clean: 43 rm - f build/*.o build/*.txt build/include/* build/lib/*45 rm -rf build/
Note: See TracChangeset
for help on using the changeset viewer.