File: Makefile

package info (click to toggle)
easychem 0.6-5
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 936 kB
  • ctags: 518
  • sloc: ansic: 8,993; sh: 2,348; xml: 83; makefile: 68
file content (11 lines) | stat: -rw-r--r-- 352 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
all: preamble.c times.c cm.c cmi.c cmb.c cmbi.c cm_common.c

%.c: %.ps
#	sed -e 's#$$#\\n", file);#' $*.ps | sed -e 's#^#fputs ("#' > $*.c
	sed -e 's/%.*$$//' $*.ps | perl -e 'while(<>){chomp; if (/^ *%/) {print "\n$$_\n";} else {print "$$_ ";}}' | sed -e 's#$$#\\n", file);\n#' | sed -e 's#^#fputs ("#' | sed -e 's/  */ /g' > $*.c


clean:
	-rm *.c