File: Makefile.check.warnings

package info (click to toggle)
examl 3.0.22-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,180 kB
  • sloc: ansic: 27,326; makefile: 74; sh: 48
file content (26 lines) | stat: -rw-r--r-- 1,156 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Makefile August 2006 by Alexandros Stamatakis
# Makefile cleanup October 2006, Courtesy of Peter Cordes <peter@cordes.ca>

CC = clang
CFLAGS = -fomit-frame-pointer -O2 -D_GNU_SOURCE -msse -funroll-loops -Weverything -Wno-padded  #-Wall -Wunused-parameter -Wredundant-decls  -Wreturn-type  -Wswitch-default -Wunused-value -Wimplicit  -Wimplicit-function-declaration  -Wimplicit-int -Wimport  -Wunused  -Wunused-function  -Wunused-label -Wno-int-to-pointer-cast -Wbad-function-cast  -Wmissing-declarations -Wmissing-prototypes  -Wnested-externs  -Wold-style-definition -Wstrict-prototypes   -Wpointer-sign -Wextra -Wredundant-decls -Wunused -Wunused-function -Wunused-parameter -Wunused-value  -Wunused-variable -Wformat  -Wformat-nonliteral -Wparentheses -Wsequence-point -Wuninitialized -Wundef -Wbad-function-cast


LIBRARIES = -lm

RM = rm -f

objs    = axml.o parsePartitions.o

all : parse-examl

GLOBAL_DEPS = axml.h globalVariables.h ../versionHeader/version.h 

parse-examl : $(objs)
	$(CC) -o parse-examl $(objs) $(LIBRARIES) 


axml.o : axml.c $(GLOBAL_DEPS)
parsePartitions.o : parsePartitions.c $(GLOBAL_DEPS)

clean : 
	$(RM) *.o parse-examl