source: app/src/lem/Makefile @ 9e0afb5

Last change on this file since 9e0afb5 was e28a625, checked in by obrebski <obrebski@…>, 16 years ago

Ta linia i następne zostaną zignorowane--

M app/dist/files/README

uaktualnione

M app/doc/utt.texinfo

dopiski

M app/src/gue/Makefile

statyczne biblioteki

M app/src/cor/cmdline_cor.ggo

usuniecie nie dzialajacych parametrow

M app/src/cor/Makefile

statyczne biblioteki

M app/src/common/cmdline_common.ggo

?

M app/src/kor/Makefile

statyczne biblioteki

M app/src/lem/Makefile

statyczne biblioteki

M lang/dist/tarball/Makefile

pakowanie modulow jezykowych po jednym

M lang/Makefile

-"-

git-svn-id: svn://atos.wmid.amu.edu.pl/utt@61 e293616e-ec6a-49c2-aa92-f4a8b91c5d16

  • Property mode set to 100644
File size: 1.6 KB
Line 
1PAR=-Wno-deprecated -m32 -O3 -fpermissive -static
2PAR2=-c -Wno-deprecated -m32 -O3 -fpermissive -static
3LIB_PATH=../lib
4COMMON_PATH=../common
5CMDLINE_FILE='"../lem/cmdline.h"'
6
7
8lem: main.cc lem.o  $(LIB_PATH)/auttools.o $(LIB_PATH)/word.o \
9      cmdline.c common_lem.o common.o symtab.o
10        g++ $(PAR) -D _CMDLINE_FILE=$(CMDLINE_FILE) \
11        main.cc lem.o $(LIB_PATH)/auttools.o \
12        $(LIB_PATH)/word.o cmdline.c common.o common_lem.o \
13        symtab.o -o lem
14
15lem.o: lem.h lem.cc
16        g++ $(PAR2) -D _CMDLINE_FILE=$(CMDLINE_FILE) lem.cc
17
18# alphabet.o: $(LIB_PATH)/alphabet.h $(LIB_PATH)/alphabet.cc
19#       g++ $(PAR2) $(LIB_PATH)/alphabet.cc
20
21# auttools.o: $(LIB_PATH)/auttools.h $(LIB_PATH)/auttools.cc
22#       g++ $(PAR2) $(LIB_PATH)/auttools.cc
23
24# word.o: $(LIB_PATH)/word.h $(LIB_PATH)/word.cc
25#       g++ $(PAR2) $(LIB_PATH)/word.cc
26
27# erro.o: $(LIB_PATH)/erro.h $(LIB_PATH)/erro.cc
28#       g++ $(PAR2) $(LIB_PATH)/erro.cc
29
30common.o: $(COMMON_PATH)/cmdline_common.ggo $(COMMON_PATH)/common.cc \
31         $(COMMON_PATH)/common.h
32        g++ $(PAR2) -D _CMDLINE_FILE=$(CMDLINE_FILE) $(COMMON_PATH)/common.cc
33
34common_lem.o: cmdline.h common_lem.h common_lem.cc
35        g++ $(PAR2) -D _CMDLINE_FILE=$(CMDLINE_FILE) common_lem.cc
36
37cmdline.c cmdline.h: cmdline.ggo
38        gengetopt -i cmdline.ggo --conf-parser
39
40cmdline.ggo: cmdline_lem.ggo ../common/cmdline_common.ggo
41        cat cmdline_lem.ggo ../common/cmdline_common.ggo > cmdline.ggo
42
43symtab.o: $(LIB_PATH)/symtab.h $(LIB_PATH)/symtab.cc
44        g++ $(PAR2) $(LIB_PATH)/symtab.cc
45
46clean: clean.cmdline
47        rm *.o || true
48        rm lem || true
49
50clean.cmdline:
51        rm cmdline.* || true
52
53copy:
54ifdef UTT_BIN_DIR
55        cp lem $(UTT_BIN_DIR)
56endif
Note: See TracBrowser for help on using the repository browser.