📄 makefile
字号:
EXEC = thttpdOBJS = thttpd.o libhttpd.o mmc.o timers.o match.o tdate_parse.oCFLAGS += -DHAVE_FCNTL_H=1 -DEMBED=1 -DHAVE_MEMORY_H=1 \ -DHAVE_PATHS_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_DIRENT_H=1 \ -DHAVE_LIBCRYPT=1 -DHAVE_STRERROR=1 -DHAVE_WAITPID=1 \ -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 FLTFLAGS += -s 16384all: $(EXEC)$(EXEC): $(OBJS) $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LDLIBS)romfs: $(ROMFSINST) /bin/$(EXEC)clean: -rm -f $(EXEC) *.elf *.gdb *.olibhttpd.o: mime_encodings.h mime_types.hmime_encodings.h: mime_encodings.txt rm -f mime_encodings.h sed < mime_encodings.txt > mime_encodings.h \ -e 's/#.*//' -e 's/[ ]*$$//' -e '/^$$/d' \ -e 's/[ ][ ]*/", "/' -e 's/^/{ "/' -e 's/$$/" },/'mime_types.h: mime_types.txt rm -f mime_types.h sed < mime_types.txt > mime_types.h \ -e 's/#.*//' -e 's/[ ]*$$//' -e '/^$$/d' \ -e 's/[ ][ ]*/", "/' -e 's/^/{ "/' -e 's/$$/" },/'thttpd.o: config.h version.h libhttpd.h mmc.h timers.h match.hlibhttpd.o: config.h version.h libhttpd.h mime_encodings.h mime_types.h \ mmc.h timers.h match.h tdate_parse.hmmc.o: mmc.htimers.o: timers.hmatch.o: match.htdate_parse.o: tdate_parse.h
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -