Last change
on this file since 845ee69 was
f600a02,
checked in by Tomasz Obrebski <obrebski@…>, 11 years ago
|
Bugs in build and installation process fixed, lem.bin and gram.dgp built while compilation
|
-
Property mode set to
100644
|
File size:
1.0 KB
|
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-update $(BIN_DIR) |
---|
19 | install -m 0755 compdic-update-fst $(BIN_DIR) |
---|
20 | install -m 0755 compdic-update-cats $(BIN_DIR) |
---|
21 | install -m 0755 compdic-dic-to-fst $(BIN_DIR) |
---|
22 | install -m 0755 compdic-dic-to-cats $(BIN_DIR) |
---|
23 | install -m 0755 compdic-fst-to-bin $(BIN_DIR) |
---|
24 | |
---|
25 | install -m 0755 fsm2aut $(BIN_DIR) |
---|
26 | install -m 0755 aut2fsa $(BIN_DIR) |
---|
27 | install -m 0755 lst2fstext $(BIN_DIR) |
---|
28 | endif |
---|
29 | |
---|
30 | .PHONY: uninstall |
---|
31 | uninstall: |
---|
32 | ifdef BIN_DIR |
---|
33 | rm $(BIN_DIR)/compdic |
---|
34 | rm $(BIN_DIR)/compdic-update |
---|
35 | rm $(BIN_DIR)/compdic-update-fst |
---|
36 | rm $(BIN_DIR)/compdic-update-cats |
---|
37 | rm $(BIN_DIR)/compdic-dic-to-fst |
---|
38 | rm $(BIN_DIR)/compdic-dic-to-cats |
---|
39 | rm $(BIN_DIR)/compdic-fst-to-bin |
---|
40 | |
---|
41 | rm $(BIN_DIR)/fsm2aut |
---|
42 | rm $(BIN_DIR)/aut2fsa |
---|
43 | rm $(BIN_DIR)/lst2fstext |
---|
44 | endif |
---|
45 | |
---|
46 | .PHONY: clean |
---|
47 | clean: |
---|
48 | rm aut2fsa |
---|
Note: See
TracBrowser
for help on using the repository browser.