Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
AJ ONeal
committed
Feb 7, 2011
1 parent
c21949b
commit 396458d
Showing
6 changed files
with
37 additions
and
168 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
cmake_minimum_required(VERSION 2.6) | ||
|
||
add_definitions (-Wall -Werror -ggdb3) | ||
|
||
add_library (pseudofd STATIC pseudo-fd.c) | ||
# add_library (pseudofd SHARED pseudo-fd.c) | ||
|
||
add_executable(pseudofd-test pseudo-fd-test.c) | ||
target_link_libraries(pseudofd-test pseudofd) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
CC_OPTS = -Wall -Werror -lev -ggdb3 -I./include -lpthread | ||
|
||
ifeq ($(shell uname), Darwin) | ||
LIBFLAG= | ||
else | ||
LIBFLAG=-Wl | ||
endif | ||
|
||
|
||
all: pseudo-fd | ||
|
||
clean: | ||
rm -f pseudo-fd-test.bin | ||
|
||
pseudo-fd: | ||
$(CC) $(CC_OPTS) -o pseudo-fd-test.bin pseudo-fd-test.c pseudo-fd.c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters