📄 makefile
字号:
# Makefile for cdg - the C-source Documentation Generator# Possible versions:# -DPOSTSCRIPT generates the PostScript version.# -DLASERJET generates the HP-LaserJet version.# -DDESKJET generates the HP-DeskJet 500 version.# -DUSLETTER generates a version for output on US Letter paper size# (only with PostScript printers - requires -DPOSTSCRIPT).# Default paper size is A4.CFLAGS=-Wall -DPOSTSCRIPTCC=gcccdg: main.o page.o parse.o scan.o datestr.o $(CC) main.o page.o parse.o scan.o datestr.o -o cdgmain.o: main.c cdg.h $(CC) $(CFLAGS) -c main.c# page.c contains all printer dependent stuff and is dependent on the# -Dprintertype option. Therefore page.o depends on Makefile.page.o: page.c cdg.h Makefile $(CC) $(CFLAGS) -c page.cparse.o: parse.c cdg.h y.tab.h $(CC) $(CFLAGS) -c parse.c# Expect two warnings when compiling scan...scan.o: scan.c cdg.h scan.h y.tab.h $(CC) $(CFLAGS) -c scan.cscan.c: scan.ldatestr.o: datestr.c $(CC) $(CFLAGS) -c datestr.cdatestr.c: main.c page.c parse.c scan.l scan.h y.tab.h cdg.h ls -ltr main.c page.c parse.c scan.l scan.h y.tab.h cdg.h | tail -1 | \ sed 's/.* \(............\) .*/char makedatestring[] = \"\1\";/' \ > datestr.c# Scan.c and datestr.c are included in the distribution for those poor users# that do not have (a compatible version of) (f)lex, ls, sed, or tail.dist: COPYING README Makefile main.c page.c parse.c \ datestr.c cdg.h y.tab.h scan.h scan.l scan.c cdg.l listfile tar cfv cdg.tar COPYING README Makefile main.c page.c parse.c \ datestr.c cdg.h y.tab.h scan.h scan.l scan.c cdg.l listfile rm -f cdg.tar.gz gzip cdg.tar uuencode cdg.tar.gz cdg.tar.gz > cdg.tar.gz.uueclean: rm -f *.o
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -