Changeset 13a8a67
- Timestamp:
- 05/01/08 22:27:23 (17 years ago)
- Branches:
- master, help
- Children:
- df77b87
- Parents:
- 28e9ae0
- git-author:
- pawelk <pawelk@…> (05/01/08 22:27:23)
- git-committer:
- pawelk <pawelk@…> (05/01/08 22:27:23)
- Location:
- app/src
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
app/src/common/common.h
rac7d970 r13a8a67 9 9 #include "../lib/const.h" 10 10 11 #ifndef _CMDLINE_FILE 12 #error _CMDLINE_FILE constant not defined! 13 #else 11 14 #include _CMDLINE_FILE 15 #endif 12 16 13 17 -
app/src/cor/Makefile
r8d3e6ab r13a8a67 9 9 cor: main.cc corr.o $(LIB_PATH)/word.o \ 10 10 $(LIB_PATH)/auttools.o cmdline.c common_cor.o common.o 11 g++ $(PAR) main.cc corr.o common.o \11 g++ $(PAR) -D _CMDLINE_FILE=$(CMDLINE_FILE) main.cc corr.o common.o \ 12 12 $(LIB_PATH)/word.o $(LIB_PATH)/auttools.o cmdline.c common_cor.o \ 13 13 -o cor … … 21 21 22 22 common_cor.o: cmdline.h common_cor.cc common_cor.h 23 g++ $(PAR2) common_cor.cc23 g++ $(PAR2) -D _CMDLINE_FILE=$(CMDLINE_FILE) common_cor.cc 24 24 25 25 cmdline.c cmdline.h: cmdline.ggo -
app/src/cor/common_cor.h
r25ae32e r13a8a67 4 4 #include <stdio.h> 5 5 6 #define _CMDLINE_FILE "../cor/cmdline.h"6 //do wyrzucenia - definicja w Makefile! #define _CMDLINE_FILE "../cor/cmdline.h" 7 7 #include "../common/common.h" 8 8 -
app/src/cor/main.cc
r25ae32e r13a8a67 2 2 #include <ctype.h> 3 3 #include "../lib/iotools.h" 4 #define _CMDLINE_FILE "../cor/cmdline.h"4 //do wyrzucenia - definicja w Makefile! #define _CMDLINE_FILE "../cor/cmdline.h" 5 5 #include "../common/common.h" 6 6 #include "common_cor.h" -
app/src/dgp/Makefile
r28e9ae0 r13a8a67 20 20 21 21 ${bin}: ${objs} 22 ${CXX} ${CXXFLAGS} - o $@ ${objs}22 ${CXX} ${CXXFLAGS} -D _CMDLINE_FILE=$(CMDLINE_FILE) -o $@ ${objs} 23 23 24 24 include $(sources:.cc=.d) … … 28 28 29 29 %.d: %.cc 30 $(CC) -MM $(CPPFLAGS) $< > $@.$$$$; \30 $(CC) -MM $(CPPFLAGS) -D _CMDLINE_FILE=$(CMDLINE_FILE) $< > $@.$$$$; \ 31 31 sed 's,\($*\)\.o[ :]*,\1.o $@ : ,g' < $@.$$$$ > $@; \ 32 32 rm -f $@.$$$$ -
app/src/dgp/main.cc
r28e9ae0 r13a8a67 7 7 */ 8 8 9 #include "cmdline.h"10 9 #include "global.hh" 11 10 #include "mgraph.hh" … … 14 13 #include "dgp0.hh" 15 14 #include "../common/common.h" 15 #include "cmdline.h" 16 16 17 17 #define MAXSEGMENTS 500 -
app/src/kor/Makefile
rac7d970 r13a8a67 9 9 kor: main.cc corr.o corlist.o cmdline.o $(LIB_PATH)/word.o \ 10 10 $(LIB_PATH)/auttools.o cmdline.c common_cor.o common.o 11 g++ $(PAR) main.cc corlist.o corr.o common.o \11 g++ $(PAR) -D _CMDLINE_FILE=$(CMDLINE_FILE) main.cc corlist.o corr.o common.o \ 12 12 $(LIB_PATH)/word.o $(LIB_PATH)/auttools.o cmdline.c common_cor.o \ 13 13 -o kor 14 14 15 15 corr.o: corr.cc corr.hh cmdline.h 16 g++ $(PAR2) corr.cc16 g++ $(PAR2) -D _CMDLINE_FILE=$(CMDLINE_FILE) corr.cc 17 17 18 18 corlist.o: corlist.cc corlist.h cmdline.h 19 g++ $(PAR2) corlist.cc19 g++ $(PAR2) -D _CMDLINE_FILE=$(CMDLINE_FILE) corlist.cc 20 20 21 21 … … 26 26 27 27 common_cor.o: cmdline.h common_cor.cc common_cor.h 28 g++ $(PAR2) common_cor.cc28 g++ $(PAR2) -D _CMDLINE_FILE=$(CMDLINE_FILE) common_cor.cc 29 29 30 30 cmdline.c cmdline.h: cmdline.ggo -
app/src/kor/common_cor.h
rb3179eb r13a8a67 3 3 4 4 // SEKCJA STALYCH 5 #ifndef _CMDLINE_FILE6 #define _CMDLINE_FILE "../kor/cmdline.h"7 #endif8 5 9 6 #define MAX_LEN 2 … … 13 10 // SEKCJA INCLUDOW 14 11 #include "../common/common.h" 15 #include _CMDLINE_FILE12 #include "cmdline.h" 16 13 17 14 -
app/src/lem/Makefile
r25ae32e r13a8a67 9 9 lem: main.cc lem.o $(LIB_PATH)/auttools.o $(LIB_PATH)/word.o \ 10 10 cmdline.c common_lem.o common.o symtab.o 11 g++ $(PAR) main.cc lem.o $(LIB_PATH)/auttools.o \ 11 g++ $(PAR) -D _CMDLINE_FILE=$(CMDLINE_FILE) \ 12 main.cc lem.o $(LIB_PATH)/auttools.o \ 12 13 $(LIB_PATH)/word.o cmdline.c common.o common_lem.o \ 13 14 symtab.o -o lem 14 15 15 16 lem.o: lem.h lem.cc 16 g++ $(PAR2) lem.cc17 g++ $(PAR2) -D _CMDLINE_FILE=$(CMDLINE_FILE) lem.cc 17 18 18 19 # alphabet.o: $(LIB_PATH)/alphabet.h $(LIB_PATH)/alphabet.cc … … 33 34 34 35 common_lem.o: cmdline.h common_lem.h common_lem.cc 35 g++ $(PAR2) common_lem.cc36 g++ $(PAR2) -D _CMDLINE_FILE=$(CMDLINE_FILE) common_lem.cc 36 37 37 38 cmdline.c cmdline.h: cmdline.ggo -
app/src/lem/common_lem.h
r25ae32e r13a8a67 3 3 4 4 #include <stdio.h> 5 #define _CMDLINE_FILE "../lem/cmdline.h"6 5 #include "../common/common.h" 7 6 -
app/src/lem/main.cc
r8abee07 r13a8a67 1 1 #include "../lib/iotools.h" 2 #define _CMDLINE_FILE "../lem/cmdline.h"2 //do wyrzucenia - definicja w Makefile! #define _CMDLINE_FILE "../lem/cmdline.h" 3 3 #include "../common/common.h" 4 4 #include "common_lem.h" -
app/src/tok.c/Makefile
r25ae32e r13a8a67 6 6 7 7 tok: tok.o cmdline.c common_tok.o common.o 8 g++ $(PAR) tok.c cmdline.c common.o common_tok.o -o tok 8 g++ $(PAR) -D _CMDLINE_FILE=$(CMDLINE_FILE) \ 9 tok.c cmdline.c common.o common_tok.o -o tok 9 10 10 11 tok.o: tok.c cmdline.h 11 g++ $(PAR2) tok.c12 g++ $(PAR2) -D _CMDLINE_FILE=$(CMDLINE_FILE) tok.c 12 13 13 14 common_tok.o: cmdline.h common_tok.cc common_tok.h 14 g++ $(PAR2) common_tok.cc15 g++ $(PAR2) -D _CMDLINE_FILE=$(CMDLINE_FILE) common_tok.cc 15 16 16 common.o: $(COMMON_PATH)/cmdline_common.ggo $(COMMON_PATH)/common.cc \17 17 common.o: $(COMMON_PATH)/cmdline_common.ggo $(COMMON_PATH)/common.cc \ 18 $(COMMON_PATH)/common.h 18 19 g++ $(PAR2) -D _CMDLINE_FILE=$(CMDLINE_FILE) $(COMMON_PATH)/common.cc 19 20 … … 23 24 cmdline.c cmdline.h: cmdline.ggo 24 25 gengetopt -i cmdline.ggo --conf-parser 25 26 26 27 27 copy: -
app/src/tok.c/common_tok.h
r25ae32e r13a8a67 3 3 4 4 #include <stdio.h> 5 #define _CMDLINE_FILE "../tok.c/cmdline.h"6 5 #include "../common/common.h" 7 6
Note: See TracChangeset
for help on using the changeset viewer.