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