Changeset 444 for trunk/user/sort
- Timestamp:
- May 16, 2018, 8:31:35 PM (7 years ago)
- Location:
- trunk/user/sort
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/user/sort/Makefile
r440 r444 11 11 OBJS = build/sort.o 12 12 13 INCLUDES = -I. -I$(LIBC_INCLUDE) -I$(LIBPTHREAD_INCLUDE) 13 INCLUDES = -I. -I$(LIBC_INCLUDE) -I$(LIBPTHREAD_INCLUDE) -I$(LIBALMOSMKH_INCLUDE) -I$(SHARED_INCLUDE) 14 14 15 15 compile: dirs build/sort.elf 16 16 17 17 build/sort.elf : $(OBJS) sort.ld 18 $(LD) -o $@ -T sort.ld $(OBJS) -nostdlib -L$(LIBC) -L$(LIBPTHREAD) - lc -lpthread18 $(LD) -o $@ -T sort.ld $(OBJS) -nostdlib -L$(LIBC) -L$(LIBPTHREAD) -L$(LIBALMOSMKH) -lpthread -lalmos-mkh -lc 19 19 $(DU) -D $@ > $@.txt 20 20 -
trunk/user/sort/sort.c
r442 r444 24 24 #include <stdio.h> 25 25 #include <stdlib.h> 26 #include <malloc.h>27 26 #include <pthread.h> 27 #include <almos-mkh.h> 28 28 29 29 #define ARRAY_LENGTH 0x400 // 1024 values
Note: See TracChangeset
for help on using the changeset viewer.