diff options
author | Theron <tspiegl@gmail.com> | 2020-11-17 19:16:58 -0600 |
---|---|---|
committer | Theron <tspiegl@gmail.com> | 2020-11-17 19:16:58 -0600 |
commit | 9dd934daf79451fc9c67b351da2f41e216e78a48 (patch) | |
tree | 11d8410a4e88a90ecd1fb9baa7f35719cf4aa46b /Makefile | |
parent | 36634838d5e84b607d471c8b34777638c0adf40c (diff) |
32-bit x86 version and syscall test
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 |