Changeset 10 in libcf for trunk/src


Ignore:
Timestamp:
01/30/13 23:40:33 (11 years ago)
Author:
cheese
Message:

#1 arrange some code and change windows project name from lower case to upper case

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/cf_debug.c

    r9 r10  
    2222    if (__ctx == NULL)                      \
    2323        return CF_ERROR_DEBUG_INVALID_CTX
     24
    2425#define GET_CTX_OSTREAM(__ctx)              \
    2526    ((((CF_DEBUG_CTX *)__ctx)->fp == NULL)  \
     
    3738
    3839/* implementation of CF_Debug_Ctx */
    39 typedef struct __cf_debug_context__
     40typedef struct __cf_debug_ctx__
    4041{
    4142    char    file[NAME_LENGTH + 1];
  • trunk/src/makefile

    r6 r10  
    4141                    cf_thread       \
    4242                    cf_debug        \
     43                    cf_log          \
    4344
    44 LIB_NAME        = CF
     45LIB_NAME        = cf
    4546
    4647CC              = gcc
     
    8990dummy:
    9091
    91 # test
    92 test: all
    93     $(CXX) $(CXXFLAGS) $(INCLUDES) $(CXXDEFS) -o $(OBJ_PATH)/main.o -c main.cpp
    94     $(LD) $(LDFLAGS) -o $(TARGET_PATH)/cf.ex $(OBJ_PATH)/main.o -L$(TARGET_PATH) -lpthread
    95     LD_LIBRARY_PATH=$(TARGET_PATH) $(TARGET_PATH)/cf.ex
    96 
Note: See TracChangeset for help on using the changeset viewer.