Last change
on this file since 188 was
181,
checked in by karaoui, 12 years ago
|
new version of map.xml supporting the routage and the coproc.
the xml_parser/xml_driver are also updated aproprietly.
|
File size:
385 bytes
|
Rev | Line | |
---|
[158] | 1 | |
---|
| 2 | all: xml2bin bin2xml |
---|
| 3 | |
---|
| 4 | bin2xml: xml_driver.c mapping_info.h |
---|
[181] | 5 | gcc -Wall -g -I. xml_driver.c -o bin2xml |
---|
[158] | 6 | |
---|
| 7 | xml2bin: xml_parser.c mapping_info.h |
---|
[181] | 8 | gcc -Wall -g -I. -I/usr/include/libxml2 xml_parser.c -o xml2bin -lxml2 |
---|
[158] | 9 | |
---|
[160] | 10 | test: |
---|
| 11 | ./xml2bin map.xml test.bin |
---|
| 12 | ./bin2xml test.bin test.xml |
---|
| 13 | |
---|
| 14 | up_test: |
---|
| 15 | ./xml2bin ../map.xml ../test.bin |
---|
| 16 | ./bin2xml ../test.bin ../test.xml |
---|
| 17 | |
---|
| 18 | |
---|
[158] | 19 | clean: |
---|
| 20 | rm xml2bin bin2xml |
---|
Note: See
TracBrowser
for help on using the repository browser.