chiark / gitweb /
adns compiles ish, working on transferring the rest
[chiark-tcl.git] / base / extension.make
1
2 SHLIB ?=        $(EXTENSION)
3
4 AUTO_HDRS +=    tables.h
5 AUTO_SRCS +=    tables.c
6 CFILES +=       tables
7
8 LDLIBS +=       $(BASE_DIR)/chiark-tcl.so
9
10 include         $(BASE_DIR)/common.make
11 include         $(BASE_DIR)/shlib.make
12
13 TCMDIFARGS ?=   -p$(EXTENSION) -o$@ $(BASE_TCT) $<
14
15 %.c:            %.tct $(BASE_TCT) $(TCMDIFGEN)
16                 $(TCMDIFGEN) -wc $(TCMDIFARGS)
17
18 %.h:            %.tct $(BASE_TCT) $(TCMDIFGEN)
19                 $(TCMDIFGEN) -wh $(TCMDIFARGS)
20
21 include         $(BASE_DIR)/final.make