Last change
on this file since 3b02b04 was
555c7f8,
checked in by Tomasz Obrebski <to@…>, 12 years ago
|
dodanie mo�liwo�ci szybkiego uaktualniania s�ownika dla lema
|
-
Property mode set to
100644
|
File size:
966 bytes
|
Rev | Line | |
---|
[e7de6cc] | 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) |
---|
[555c7f8] | 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) |
---|
[f4bf33e] | 22 | install -m 0755 compdic-fst-to-bin $(BIN_DIR) |
---|
| 23 | |
---|
[e7de6cc] | 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 |
---|
[555c7f8] | 33 | rm $(BIN_DIR)/compdic-update |
---|
| 34 | rm $(BIN_DIR)/compdic-update-fst |
---|
| 35 | rm $(BIN_DIR)/compdic-update-cats |
---|
| 36 | rm $(BIN_DIR)/compdic-dic-to-fst |
---|
[f4bf33e] | 37 | rm $(BIN_DIR)/compdic-fst-to-bin |
---|
[555c7f8] | 38 | |
---|
[e7de6cc] | 39 | rm $(BIN_DIR)/fsm2aut |
---|
| 40 | rm $(BIN_DIR)/aut2fsa |
---|
| 41 | rm $(BIN_DIR)/lst2fstext |
---|
| 42 | endif |
---|
| 43 | |
---|
| 44 | .PHONY: clean |
---|
| 45 | clean: |
---|
| 46 | rm aut2fsa |
---|
Note: See
TracBrowser
for help on using the repository browser.