Makefile.am Sample

Posted at 2008/10/08 14:09// Posted in 사는 얘기
Makefile.am 은 autotool 로 시작하는 프로젝트의 시작입니다. 간만에 하나 재미로 시작해 볼까하여, 끄적여 봅니다.
$ more Makefile.am
bin_PROGRAMS = filezarufs
filezarufs_SOURCES = filezaru.c
filezarufs_CFLAGS = -D_FILE_OFFSET_BITS=64
filezarufs_LDADD = -lfuse

check_PROGRAMS = test-protocol
test_protocol_SOURCES = test-protocol.c
test_protocol_LDADD = -lcunit
TESTS = test-protocol
그리고,
make check
지금의 의욕은 unittest framework 은 CUnit을 쓰는 것으로다가..

냐하..


크리에이티브 커먼즈 라이센스
Creative Commons License
2008/10/08 14:09 2008/10/08 14:09

http://coolengineer.com/trackback/602