File: Makefile

package info (click to toggle)
slang2 2.3.0-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 10,588 kB
  • ctags: 10,558
  • sloc: ansic: 95,506; sh: 3,277; makefile: 945; pascal: 143
file content (17 lines) | stat: -rw-r--r-- 428 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
TABLES = slupper.h sllower.h slischar.h slcombin.h slwcwidth.h
UNICODEDATA = UnicodeData.txt EastAsianWidth.txt

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)