- Timestamp:
- Oct 7, 2008 8:23:01 PM (16 years ago)
- Location:
- pjproject/trunk/pjmedia
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/build/Makefile
r2262 r2344 107 107 # $(TARGET) is defined in os-$(OS_NAME).mak file in current directory. 108 108 # 109 TARGETS := pjmedia pjmedia-codec pjsdp 110 #pjmedia-test 109 TARGETS := pjmedia pjmedia-codec pjsdp pjmedia-test 111 110 112 111 all: $(TARGETS) -
pjproject/trunk/pjmedia/src/test/main.c
r2101 r2344 1 /* $Id :$ */1 /* $Id$ */ 2 2 /* 3 3 * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org> … … 30 30 31 31 32 int main( )32 int main(int argc, char *argv[]) 33 33 { 34 34 int rc; … … 37 37 rc = test_main(); 38 38 39 puts("\nPress <ENTER> to quit"); 40 fgets(s, sizeof(s), stdin); 39 if (argc == 2 && argv[1][0]=='-' && argv[1][1]=='i') { 40 puts("\nPress <ENTER> to quit"); 41 fgets(s, sizeof(s), stdin); 42 } 41 43 42 44 return rc; 43 45 } 46
Note: See TracChangeset
for help on using the changeset viewer.