summaryrefslogtreecommitdiff
path: root/tests/Makefile
diff options
context:
space:
mode:
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