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
49 .PHONY
: clean install uninstall
54 $(CC
) $(OBJS
) -o
$(TARGET
) $(LIBS
) $(CFLAGS
) $(BUILD
)
57 $(CC
) -c
$(CFLAGS
) $(BUILD
) $< -o
$@
60 rm -f
$(OBJS
) $(TARGET
)
63 cp
$(TARGET
) $(BINDIR
)
66 rm -f
$(BINDIR
)/$(TARGET
)