22 # Use is subject to license terms.
23 #
24 # Copyright (c) 2018, Joyent, Inc.
25
26 #
27 # Create default so empty rules don't
28 # confuse make
29 #
30 CLASS = 32
31
32 include $(SRCDIR)/../Makefile.cmd
33
34 PROG = eeprom
35
36 FILEMODE = 02555
37 DIRMODE = 755
38
39 OBJS = error.o
40
41 CERRWARN += -_gcc=-Wno-parentheses
42 CERRWARN += -_gcc=-Wno-uninitialized
43 CERRWARN += -_gcc=-Wno-implicit-function-declaration
44
45 # not linted
46 SMATCH=off
47
48 LINT_OBJS = $(OBJS:%.o=%.ln)
49 SOURCES = $(OBJS:%.o=%.c)
50
51 .PARALLEL: $(OBJS)
52
53 %.o: $(SRCDIR)/common/%.c
54 $(COMPILE.c) -o $@ $<
55
56 %.ln: ../common/%.c
57 $(LINT.c) -c $@ $<
|
22 # Use is subject to license terms.
23 #
24 # Copyright (c) 2018, Joyent, Inc.
25
26 #
27 # Create default so empty rules don't
28 # confuse make
29 #
30 CLASS = 32
31
32 include $(SRCDIR)/../Makefile.cmd
33
34 PROG = eeprom
35
36 FILEMODE = 02555
37 DIRMODE = 755
38
39 OBJS = error.o
40
41 CERRWARN += -_gcc=-Wno-parentheses
42 CERRWARN += $(CNOWARN_UNINIT)
43 CERRWARN += -_gcc=-Wno-implicit-function-declaration
44
45 # not linted
46 SMATCH=off
47
48 LINT_OBJS = $(OBJS:%.o=%.ln)
49 SOURCES = $(OBJS:%.o=%.c)
50
51 .PARALLEL: $(OBJS)
52
53 %.o: $(SRCDIR)/common/%.c
54 $(COMPILE.c) -o $@ $<
55
56 %.ln: ../common/%.c
57 $(LINT.c) -c $@ $<
|