Changeset 1e121f4 for _old/app/src/tok.c
- Timestamp:
- 10/26/10 10:57:54 (14 years ago)
- Branches:
- master
- Children:
- a6e708f
- Parents:
- f712e16
- git-author:
- Adam Kędziora <s301614@…> (10/26/10 10:57:54)
- git-committer:
- Adam Kędziora <s301614@…> (10/26/10 10:57:54)
- Location:
- _old/app/src/tok.c
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
_old/app/src/tok.c/Makefile
r57728c1 r1e121f4 1 PAR=-Wno-deprecated -O3 1 PAR=-Wno-deprecated -O3 -fpermissive 2 2 PAR2=-c -Wno-deprecated -O3 3 3 LIB_PATH=../lib 4 COMMON_PATH=../common 4 5 CMDLINE_FILE='"../tok.c/cmdline.h"' 5 6 … … 15 16 g++ $(PAR2) -D _CMDLINE_FILE=$(CMDLINE_FILE) common_tok.cc 16 17 17 common.o: $(COMMON_PATH)/cmdline_common.ggo $(COMMON_PATH)/common.cc \ 18 $(COMMON_PATH)/common.h 18 common.o: cmdline_common 19 19 g++ $(PAR2) -D _CMDLINE_FILE=$(CMDLINE_FILE) $(COMMON_PATH)/common.cc 20 20 21 cmdline.ggo: cmdline_tok.ggo ../common/cmdline_common.ggo22 cat cmdline_tok.ggo ../common/cmdline_common.ggo > cmdline.ggo21 cmdline.ggo: cmdline_tok.ggo $(COMMON_PATH)/cmdline_common.ggo 22 cat cmdline_tok.ggo $(COMMON_PATH)/cmdline_common.ggo > cmdline.ggo 23 23 24 24 cmdline.c cmdline.h: cmdline.ggo … … 32 32 33 33 clean: clean.cmdline 34 rm *.o 34 rm *.o || true 35 rm tok || true 35 36 36 37 clean.cmdline: 37 38 rm cmdline.* 39 40 include $(COMMON_PATH)/common.mk 41 include $(LIB_PATH)/lib.mk -
_old/app/src/tok.c/cmdline_tok.ggo
r57728c1 r1e121f4 2 2 version "0.1" 3 3 4 option "dictionary" d "Dictionary" string typestr="FILENAME" default="cor.bin" no 4 5 -
_old/app/src/tok.c/common_tok.cc
r57728c1 r1e121f4 1 #include < stdlib.h>2 #include < string.h>1 #include <cstdlib> 2 #include <cstring> 3 3 #include "common_tok.h" 4 5 using namespace std; 4 6 5 7 char dictionary[255];
Note: See TracChangeset
for help on using the changeset viewer.