-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
20 lines (14 loc) · 1.42 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Compiler to Use
CC = gcc
# Compile Flags
CFLAGS = -ldl -fPIC -shared -D_GNU_SOURCE
# Directories
OUTDIR = bin
TARGET = smoochum
TARGETSO = libc.man.so.6»
all: $(TARGET)
$(TARGET): $(TARGET).c
»---$(shell mkdir -p $(OUTDIR);)
»---$(CC) $(CFLAGS) -o $(OUTDIR)/$(TARGETSO) $(TARGET).c
clean:
»---$(RM) -r $(OUTDIR)