3 INCLUDES
:= /usr
/include/dundancy.h
5 CFILES
:= $(foreach dir,$(SOURCES
),$(notdir $(wildcard $(dir)/*.c
)))
6 HFILES
:= source
/dundancy.h
7 OFILES
:= /usr
/lib
/dundancy.o
$(CFILES
:.c
=.o
)
18 @
$(COMPILER
) $(OPTIONS
) -c
$< -o
$@
21 @gdb
--eval-command
=run
$(TARGET
)
29 $(EXECUTABLE
): $(OFILES
)
31 $(COMPILER
) $(OPTIONS
) -o
$@
$<l