summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..7933f7e
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,26 @@
1OUTPUT_DIR=./bin/
2
3CC=gcc
4CFLAGS=-m32
5
6
7all: directory prog
8
9directory:
10 @mkdir -p $(OUTPUT_DIR)
11
12prog: detection crash
13
14crash: header_screwer 10123
15
1610123:
17 $(CC) $(CFLAGS) ./crash/10123.c -o $(OUTPUT_DIR)$@
18
19header_screwer:
20 $(CC) $(CFLAGS) ./crash/header_screwer.c -o $(OUTPUT_DIR)$@
21
22detection:
23 $(CC) $(CFLAGS) ./detect/*.c -o $(OUTPUT_DIR)$@
24
25clean:
26 rm -Rf $(OUTPUT_DIR)