Last change
on this file since f4bf33e was
f4bf33e,
checked in by Tomasz Obrebski <to@…>, 13 years ago
|
dodane programy do uaktualniania slownika form (compdic-*)
|
-
Property mode set to
100644
|
File size:
963 bytes
|
Line | |
---|
1 | include ../../config.mak |
---|
2 | |
---|
3 | LDFLAGS += -static |
---|
4 | CXXFLAGS += -O2 -fpermissive |
---|
5 | |
---|
6 | all: compdic aut2fsa |
---|
7 | |
---|
8 | .PHONY: compdic |
---|
9 | compdic: |
---|
10 | |
---|
11 | aut2fsa: aut2fsa.cc |
---|
12 | g++ $(CXXFLAGS) $(LDFLAGS) -o aut2fsa aut2fsa.cc |
---|
13 | |
---|
14 | .PHONY: install |
---|
15 | install: |
---|
16 | ifdef BIN_DIR |
---|
17 | install -m 0755 compdic $(BIN_DIR) |
---|
18 | install -m 0755 compdic-create-fst $(BIN_DIR) |
---|
19 | install -m 0755 compdic-fst-add $(BIN_DIR) |
---|
20 | install -m 0755 compdic-fst-minus $(BIN_DIR) |
---|
21 | install -m 0755 compdic-fst-to-bin $(BIN_DIR) |
---|
22 | install -m 0755 compdic-fst-update $(BIN_DIR) |
---|
23 | |
---|
24 | install -m 0755 fsm2aut $(BIN_DIR) |
---|
25 | install -m 0755 aut2fsa $(BIN_DIR) |
---|
26 | install -m 0755 lst2fstext $(BIN_DIR) |
---|
27 | endif |
---|
28 | |
---|
29 | .PHONY: uninstall |
---|
30 | uninstall: |
---|
31 | ifdef BIN_DIR |
---|
32 | rm $(BIN_DIR)/compdic |
---|
33 | rm $(BIN_DIR)/compdic-create-fst |
---|
34 | rm $(BIN_DIR)/compdic-fst-add |
---|
35 | rm $(BIN_DIR)/compdic-fst-minus |
---|
36 | rm $(BIN_DIR)/compdic-fst-to-bin |
---|
37 | rm $(BIN_DIR)/compdic-fst-update |
---|
38 | rm $(BIN_DIR)/fsm2aut |
---|
39 | rm $(BIN_DIR)/aut2fsa |
---|
40 | rm $(BIN_DIR)/lst2fstext |
---|
41 | endif |
---|
42 | |
---|
43 | .PHONY: clean |
---|
44 | clean: |
---|
45 | rm aut2fsa |
---|
Note: See
TracBrowser
for help on using the repository browser.