diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -7,6 +7,10 @@ ifeq ($(findstring arm,$(ARCH)), arm) ARCH_DIR = arm32 else ifeq ($(findstring aarch64,$(ARCH)), aarch64) ARCH_DIR = arm64 +else ifeq ($(findstring i386,$(ARCH)), i386) + ARCH_DIR = x86 +else ifeq ($(findstring i686,$(ARCH)), i686) + ARCH_DIR = x86 else ARCH_DIR = x86_64 endif @@ -47,6 +51,9 @@ bin/hashmap: scraps/hashdriver.c src/hashmap.c src/strings.c bin/random: scraps/random.c $(CC) $(CFLAGS) -o $@ $^ +bin/syscall_test: scraps/syscall_test.c + $(CC) $(CFLAGS) -o $@ $^ + chain: bin/whatfiles bin/forktest bin/grandchild bin/whatfiles bin/forktest @@ -54,3 +61,6 @@ chain: bin/whatfiles bin/forktest bin/grandchild redo: bin/whatfiles bin/threads bin/whatfiles bin/threads a s d f cat whatfiles* + +syscall_test: bin/whatfiles bin/syscall_test + bin/whatfiles -ds bin/syscall_test |