ftpiiu_plugin/Makefile.linux
Michael Theall 920cd96c67 Remove coloring from linux build.
Terminate loop when canceling waiting for wifi.
Implement ABOR, HELP, and STAT.
- STAT (no argument) during a transfer gives the current file's offset.
- STAT (no argument) outside of transfer will return server uptime.
- STAT (with argument) is the same as LIST but with the data traveling over the command socket.
Allow ABOR, STAT, and QUIT to occur during transfer.
Support telnet interrupt (discard data up to Data Mark past TCP urgent mark).
Support arguments for LIST and STAT.
Escape \r in response as per telnet standard. Some clients don't like this but they are out of spec.
Unescape \r\0 in request as per telnet standard. Some clients don't properly escape this but they are out of spec.
Support commands broken across multiple recv().
Escape quotes on PWD response.
Added much more documentation.
2016-01-21 19:25:22 -06:00

24 lines
447 B
Makefile

TARGET := $(notdir $(CURDIR))
CFILES := $(wildcard source/*.c)
OFILES := $(patsubst source/%,build.linux/%,$(CFILES:.c=.o))
CFLAGS := -g -Wall -Iinclude -DSTATUS_STRING="\"ftpd v2.2\""
LDFLAGS :=
.PHONY: all clean
all: build.linux $(TARGET)
build.linux:
@mkdir build.linux/
$(TARGET): $(OFILES)
@$(CC) -o $@ $^ $(LDFLAGS)
$(OFILES): build.linux/%.o : source/%.c
@$(CC) -o $@ -c $< $(CFLAGS)
clean:
@$(RM) -r build.linux/ $(TARGET)