File: Makefile

package info (click to toggle)
view3dscene 4.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 13,824 kB
  • sloc: pascal: 3,961; sh: 330; xml: 261; makefile: 133
file content (14 lines) | stat: -rw-r--r-- 421 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# This requires file_to_pascal_string from PasDoc
# ( https://github.com/pasdoc/pasdoc/wiki ) project. Get it and compile from
# https://raw.githubusercontent.com/pasdoc/pasdoc/master/source/tools/file_to_pascal_string.dpr .

ALL_ORIGINAL := $(wildcard *.x3dv)
ALL_TARGETS := $(subst .x3dv,.x3dv.inc,$(ALL_ORIGINAL))

default: $(ALL_TARGETS)

clean:
	rm -f $(ALL_TARGETS)

%.x3dv.inc: %.x3dv
	file_to_pascal_string $< $@