12 BINDIR
= $(PREFIX
)/bin
18 # Add the following line to get an eco.debug file
19 #BUILD += -DWITH_DEBUG
22 CFLAGS
= -O2
-Wall
-g
-funsigned-char
-Wdeclaration-after-statement
-Werror
51 .PHONY
: clean install uninstall
56 $(CC
) $(OBJS
) -o
$(TARGET
) $(LIBS
) $(CFLAGS
) $(BUILD
)
59 $(CC
) -c
$(CFLAGS
) $< -o
$@
62 rm -f
$(OBJS
) $(TARGET
)
65 cp
$(TARGET
) $(BINDIR
)
68 rm -f
$(BINDIR
)/$(TARGET
)