File: Makefile

package info (click to toggle)
slang2 2.3.3-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 11,488 kB
  • sloc: ansic: 101,756; sh: 3,435; makefile: 1,046; pascal: 440
file content (19 lines) | stat: -rw-r--r-- 506 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# These are the version 9 files from <ftp://ftp.unicode.org/Public/UNIDATA/>
UNICODEDATA = UnicodeData.txt EastAsianWidth.txt

TABLES = slupper.h sllower.h slischar.h slcombin.h slwcwidth.h

SLANG_SRC_DIR = ../../src
# This works with GNU make.  It uses a pattern rule (%.h) to deal with the
# fact that mktables creates all the .h files

all: $(TABLES)

$(TABLES) : mktables $(UNICODEDATA)
	./mktables $(UNICODEDATA)

install: $(TABLES)
	cp $(TABLES) $(SLANG_SRC_DIR)

clean:
	/bin/rm -f *~ \#* $(TABLES)