summaryrefslogtreecommitdiff
path: root/tests/Makefile
diff options
context:
space:
mode:
authorspacehen <root@spacehen.io>2022-12-30 12:05:55 +0200
committerDylan Muller <dylan.muller@corigine.com>2023-09-07 11:54:25 +0200
commit0142fb19905808101878148ca188161f016eba5e (patch)
treeced6edf7fd130190394a2f997c87536b5ee6a8dc /tests/Makefile
downloadcdl86-0142fb19905808101878148ca188161f016eba5e.tar.gz
cdl86-0142fb19905808101878148ca188161f016eba5e.zip
CDL: Compact Detour Library
Initial commit for the CDL x86_64 detour library.
Diffstat (limited to 'tests/Makefile')
-rw-r--r--tests/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/Makefile b/tests/Makefile
new file mode 100644
index 0000000..d28b133
--- /dev/null
+++ b/tests/Makefile
@@ -0,0 +1,16 @@
+IDIR=../
+CC=gcc
+CFLAGS=-I$(IDIR)
+CFILES_CDL=../cdl.c
+
+all: basic_jmp basic_swbp
+
+basic_jmp: basic_jmp.c
+ $(CC) $(CFLAGS) basic_jmp.c $(CFILES_CDL) -o basic_jmp
+basic_swbp: basic_swbp.c
+ $(CC) $(CFLAGS) basic_swbp.c $(CFILES_CDL) -o basic_swbp
+
+.PHONY: clean
+clean:
+ rm -f basic_jmp
+ rm -f basic_swbp