1 CFLAGS
= -Os
-Wall
$(EXTRACFLAGS
)
8 @echo
" [udevtrigger] CC -o $@"
9 @
$(CC
) $(LDFLAGS
) -o
$@
$(OBJS
)
15 install -D udevtrigger
$(INSTALLDIR
)/sbin
/udevtrigger
16 $(STRIP
) $(INSTALLDIR
)/sbin
/udevtrigger
17 chmod
0500 $(INSTALLDIR
)/sbin
/udevtrigger
20 rm -f udevtrigger .
*.depend
*.o
23 @echo
" [udevtrigger] CC $@"
24 @
$(CC
) $(CFLAGS
) -c
$<
26 .depend
: $(OBJS
:%.o
=%.c
)
27 @
$(CC
) $(CFLAGS
) -M
$^
> .depend
30 @
$(CC
) $(CFLAGS
) -M
$< > $@
32 -include $(OBJS
:%.o
=.
%.depend
)