Changeset 445 for trunk/libs/libpthread/Makefile
- Timestamp:
- May 29, 2018, 9:27:23 AM (7 years ago)
- Location:
- trunk/libs/libpthread
- Files:
-
- 1 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/libs/libpthread/Makefile
r444 r445 1 1 ############################################################################ 2 # Makefile for the ALMOS-MKH "mini-pthread"#2 # Makefile for the "pthread" 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!) … … 9 10 10 11 SRCS = pthread.c 11 OBJS = $(addprefix build/, $(SRCS:.c=.o))12 # $(HAL_ARCH)/build/core/hal_user.o13 12 14 INCLUDES = -I. -I$(HAL)/generic -I$(LIBC_INCLUDE) -I$(LIBALMOSMKH_INCLUDE) -I$(SHARED_INCLUDE) 13 OBJS = $(addprefix build/, $(SRCS:.c=.o)) \ 14 $(HAL_ARCH)/build/core/hal_user.o 15 15 16 libs : build/lib/libpthread.a headers 16 INCLUDES = -I. \ 17 -I$(LIBC_PATH) \ 18 -I$(LIBALMOSMKH_PATH) \ 19 -I$(SHARED_INCLUDE) \ 20 -I$(HAL)/generic \ 21 -I$(HAL_ARCH)/core \ 22 -I$(KERNEL) 23 24 libs : build/lib/libpthread.a headers 17 25 18 26 build : … … 24 32 $(MAKE) -C $(HAL_ARCH) 25 33 26 ../mini-libc/build/%.o:27 $(MAKE) -C ../libc -f Makefile.tsar28 29 34 build/%.o : %.c %.h 30 35 $(CC) $(INCLUDES) $(CFLAGS) -c -o $@ $< … … 32 37 33 38 headers: build 34 cp $(SRCS:.c=.h) build/include/.39 cp $(SRCS:.c=.h) build/include/. 35 40 36 41 37 build/lib/libpthread.a: build $(OBJS)38 $(AR) rc $@ $(OBJS) #$(OBJS_LIBC)42 build/lib/libpthread.a: build $(OBJS) 43 $(AR) rc $@ $(OBJS) 39 44 $(RANLIB) $@ 40 45
Note: See TracChangeset
for help on using the changeset viewer.