📄 makefile
字号:
CC=mingw32-gccOBJECTS = boot.o check.o common.o dosfsck.o fat.o file.o io.o lfn.oall: dosfsck.exedosfsck.exe: $(OBJECTS) $(CC) -o $@ $(LDFLAGS) $^.c.o: $(CC) -c $(CFLAGS) $*.cinstall: dosfsck mkdir -p $(SBINDIR) $(MANDIR) install -m 755 dosfsck $(SBINDIR) install -m 644 dosfsck.8 $(MANDIR) rm -f $(SBINDIR)/fsck.msdos rm -f $(SBINDIR)/fsck.vfat ln -s dosfsck $(SBINDIR)/fsck.msdos ln -s dosfsck $(SBINDIR)/fsck.vfat rm -f $(MANDIR)/fsck.msdos.8 ln -s dosfsck.8 $(MANDIR)/fsck.msdos.8 ln -s dosfsck.8 $(MANDIR)/fsck.vfat.8clean: rm -f *.o *.s *.i *~ \#*# tmp_make .#* .new*distclean: clean rm -f *.a dosfsckdep: sed '/\#\#\# Dependencies/q' <Makefile >tmp_make $(CPP) $(CFLAGS) -MM *.c >>tmp_make mv tmp_make Makefile### Dependenciesboot.o: boot.c common.h dosfsck.h io.h boot.hcheck.o: check.c common.h dosfsck.h io.h fat.h file.h lfn.h check.hcommon.o: common.c common.hdosfsck.o: dosfsck.c common.h dosfsck.h io.h boot.h fat.h file.h \ check.hfat.o: fat.c common.h dosfsck.h io.h check.h fat.hfile.o: file.c common.h file.hio.o: io.c dosfsck.h common.h io.hlfn.o: lfn.c common.h io.h dosfsck.h lfn.h file.h
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -