Debian Codegraph @

src/Makefile

raw ◀ ▶
Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
1 LIBRARIES = libb64.a
2
3 # Build flags (uncomment one)
4 #############################
5 # Release build flags
6 CFLAGS += -O3
7 #############################
8 # Debug build flags
9 #CFLAGS += -g
10 #############################
11
12 SOURCES = cdecode.c cencode.c
13
14 TARGETS = $(LIBRARIES)
15
16 LINK.o = gcc
17
18 CFLAGS += -Werror -pedantic
19 CFLAGS += -I../include
20
21 vpath %.h ../include/b64
22
23 .PHONY : clean
24
25 all: $(TARGETS) #strip
26
27 libb64.a: cencode.o cdecode.o
28 $(AR) $(ARFLAGS) $@ $^
29
30 strip:
31 strip $(BINARIES) *.exe
32
33 clean:
34 rm -f *.exe* *.o $(TARGETS) *.bak *~
35
36 distclean: clean
37 rm -f depend
38
39 depend: $(SOURCES)
40 makedepend -f- $(CFLAGS) $(SOURCES) 2> /dev/null 1> depend
41
42 -include depend
43