- Timestamp:
- 04/30/08 13:19:17 (17 years ago)
- Branches:
- master, help
- Children:
- 13a8a67
- Parents:
- 12d8443
- git-author:
- obrebski <obrebski@…> (04/30/08 13:19:17)
- git-committer:
- obrebski <obrebski@…> (04/30/08 13:19:17)
- Location:
- app/src/dgp
- Files:
-
- 1 added
- 3 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
app/src/dgp/Makefile
ra5fdde9 r28e9ae0 3 3 SHELL = /bin/sh 4 4 LIB_PATH=../../lib 5 COMMON_PATH=../common 6 CMDLINE_FILE='"../dgp/cmdline.h"' 7 5 8 6 9 #vpath %.o . … … 9 12 10 13 sources = main.cc grammar.cc symbol.cc mgraph.cc sgraph.cc dgp0.cc cmdline.cc \ 11 common.cc global.cc14 $(COMMON_PATH)/common.cc global.cc 12 15 13 16 bin = dgp … … 22 25 23 26 %.o: %.cc 24 ${CXX} - c ${CXXFLAGS} -o $@ $<27 ${CXX} -D _CMDLINE_FILE=$(CMDLINE_FILE) -c ${CXXFLAGS} -o $@ $< 25 28 26 29 %.d: %.cc … … 29 32 rm -f $@.$$$$ 30 33 31 cmdline.cc cmdline.h : cmdline.ggo 32 gengetopt --c-extension=cc -i cmdline.ggo 34 # stare: 35 # cmdline.cc cmdline.h : cmdline.ggo 36 # gengetopt --c-extension=cc -i cmdline.ggo 37 # nowe 38 cmdline.cc cmdline.h: cmdline.ggo 39 gengetopt -i cmdline.ggo --c-extension=cc --conf-parser 40 41 cmdline.ggo: cmdline_dgp.ggo ../common/cmdline_common.ggo 42 cat cmdline_dgp.ggo ../common/cmdline_common.ggo > cmdline.ggo 43 # endnowe 44 33 45 34 46 clean: -
app/src/dgp/main.cc
r0214596 r28e9ae0 13 13 #include "grammar.hh" 14 14 #include "dgp0.hh" 15 #include " common.h"15 #include "../common/common.h" 16 16 17 17 #define MAXSEGMENTS 500 … … 75 75 char segtype[80]; 76 76 77 seg_mnode[segcount] = process seg(line, args) ? mgraph.add_node(line) : -1;77 seg_mnode[segcount] = process_seg(line, args) ? mgraph.add_node(line) : -1; 78 78 79 79 segcount++; -
app/src/dgp/mgraph.cc
r0214596 r28e9ae0 3 3 #include "thesymbols.hh" 4 4 #include "const.hh" 5 #include "common.h"6 5 7 6 #include <stdio.h> -
app/src/dgp/mgraph.hh
r0214596 r28e9ae0 6 6 #include "const.hh" 7 7 #include "thesymbols.hh" 8 #include " common.h"8 #include "../common/common.h" 9 9 10 10 class MNode
Note: See TracChangeset
for help on using the changeset viewer.