source: src/compdic/Makefile @ c03f8a5

Last change on this file since c03f8a5 was c03f8a5, checked in by Tomasz Obrebski <obrebski@…>, 10 years ago

minor fixes

  • Property mode set to 100644
File size: 1.1 KB
RevLine 
[e7de6cc]1include ../../config.mak
2
3LDFLAGS += -static
4CXXFLAGS += -O2 -fpermissive
5
6all: compdic aut2fsa
7
8.PHONY: compdic
9compdic:
10
11aut2fsa: aut2fsa.cc
12        g++ $(CXXFLAGS) $(LDFLAGS) -o aut2fsa aut2fsa.cc
13
14.PHONY: install
15install:
16ifdef 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)
[f600a02]22        install -m 0755 compdic-dic-to-cats $(BIN_DIR)
[f4bf33e]23        install -m 0755 compdic-fst-to-bin $(BIN_DIR)
24
[c03f8a5]25        install -m 0755 canonize $(BIN_DIR)
[e7de6cc]26        install -m 0755 fsm2aut $(BIN_DIR)
27        install -m 0755 aut2fsa $(BIN_DIR)
28        install -m 0755 lst2fstext $(BIN_DIR)
29endif
30
31.PHONY: uninstall
32uninstall:
33ifdef BIN_DIR
34        rm $(BIN_DIR)/compdic
[555c7f8]35        rm $(BIN_DIR)/compdic-update
36        rm $(BIN_DIR)/compdic-update-fst
37        rm $(BIN_DIR)/compdic-update-cats
38        rm $(BIN_DIR)/compdic-dic-to-fst
[f600a02]39        rm $(BIN_DIR)/compdic-dic-to-cats
[f4bf33e]40        rm $(BIN_DIR)/compdic-fst-to-bin
[555c7f8]41
[e7de6cc]42        rm $(BIN_DIR)/fsm2aut
43        rm $(BIN_DIR)/aut2fsa
44        rm $(BIN_DIR)/lst2fstext
[c03f8a5]45        rm $(BIN_DIR)/canonize
[e7de6cc]46endif
47
48.PHONY: clean
49clean:
50        rm aut2fsa
Note: See TracBrowser for help on using the repository browser.