Skip to content

Commit 149d447

Browse files
committed
initial commit
Add rfc2047 decoder based on mutt sources. Signed-off-by: Stefan Assmann <[email protected]>
0 parents  commit 149d447

File tree

2 files changed

+430
-0
lines changed

2 files changed

+430
-0
lines changed

Makefile

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
VERSION = 0.1
2+
CC = gcc
3+
CFLAGS = -O2 -DVERSION=\"$(VERSION)\"
4+
OUT = rfc2047_dec
5+
6+
SRC=$(wildcard *.c)
7+
OBJ=$(SRC:.c=.o)
8+
9+
# default target
10+
all: $(OBJ)
11+
$(CC) $(CFLAGS) -o $(OUT) $(LDFLAGS) $(OBJ)
12+
13+
# debug target
14+
debug: CFLAGS += -O0 -g -DDEBUG
15+
debug: $(OBJ)
16+
$(CC) $(CFLAGS) -o $(OUT) $(LDFLAGS) $(OBJ)
17+
18+
clean:
19+
rm -rf *.o $(OUT)
20+

0 commit comments

Comments
 (0)