This commit is contained in:
Frank Rolsted Jensen
2018-06-19 15:38:46 +02:00
commit 6556a2ec50
7 changed files with 1452 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
CC=gcc
CFLAGS=-Wall -Wextra -Werror -Wno-unused-parameter -O3
OBJS = ttynvt.o telnet_basic.o telnet_rfc2217.o
LIBS = -lpthread -lfuse
.PHONY: clean
all: ttynvt
-include $(OBJS:%.o=%.d)
%.o: %.c ./Makefile
$(CC) -MMD -c -o $@ $< $(CFLAGS)
ttynvt: $(OBJS)
$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
clean:
rm -f *.o *.d ttynvt