10 |
|
|
11 |
include Makefile.inc |
include Makefile.inc |
12 |
|
|
13 |
|
# Strict warning options for ANSI C compilation |
14 |
|
WFLAGS = \ |
15 |
|
-ansi -pedantic -Wcomment -fno-asm -fsigned-char \ |
16 |
|
-W -Wparentheses \ |
17 |
|
-Wreturn-type -Wswitch -Wunused \ |
18 |
|
-Wsign-compare -Wimplicit -Wreturn-type \ |
19 |
|
-Wshadow -Wpointer-arith -Wwrite-strings \ |
20 |
|
-Wsign-compare -Wstrict-prototypes -Wmissing-prototypes \ |
21 |
|
-Wmissing-declarations |
22 |
|
|
23 |
CC = gcc -Wall |
CC = gcc |
24 |
CFLAGS = |
CFLAGS = $(WFLAGS) |
25 |
|
|
26 |
|
|
27 |
RM = rm -rf |
RM = rm -rf |
42 |
$(RM) $(DIRS) |
$(RM) $(DIRS) |
43 |
$(RM) $(LIB) |
$(RM) $(LIB) |
44 |
$(RM) $(LIBSO) |
$(RM) $(LIBSO) |
45 |
|
|
46 |
|
clean: |
47 |
|
$(RM) `find $(SRCDIR) -name "*.o"` |
48 |
|
$(RM) $(LIB) |
49 |
|
$(RM) $(LIBSO:.so=.dll) |