initial
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user