summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorjvoisin2013-01-15 21:31:40 +0100
committerjvoisin2013-01-15 21:31:40 +0100
commit808069c906a036f3b8c5de51e302245154131584 (patch)
treec8e046626973ee28a793c24faba312ace286c8c1 /Makefile
First commit with an ugly makefile !
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)