Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 36 lines (28 sloc) 1.23 kb
065df32 @timburks Initial commit
authored
1 ;; source files
2 (set @m_files (filelist "^objc/.*.m$"))
3 (set @c_files (filelist "^src/.*.c$"))
4 (set @nu_files (filelist "^nu/.*nu$"))
5
6 (set SYSTEM ((NSString stringWithShellCommand:"uname") chomp))
7 (case SYSTEM
8 ("Darwin"
9 (set @arch (list "x86_64"))
8cb8aee @timburks setup info
authored
10 (set @cflags "-I ./src -g -std=gnu99 -fobjc-gc -DDARWIN")
065df32 @timburks Initial commit
authored
11 (set @ldflags "-framework Foundation -framework Nu"))
12 ("Linux"
13 (set @arch (list "i386"))
14 (set gnustep_flags ((NSString stringWithShellCommand:"gnustep-config --objc-flags") chomp))
15 (set gnustep_libs ((NSString stringWithShellCommand:"gnustep-config --base-libs") chomp))
57b413c @timburks first build and test on Debian 5.
authored
16 (set @cflags "-I ./src -g -std=gnu99 -DLINUX -I/usr/local/include #{gnustep_flags}")
065df32 @timburks Initial commit
authored
17 (set @ldflags "#{gnustep_libs} -lNu"))
18 (else nil))
19
20 ;; framework description
21 (set @framework "NuMongoDB")
22 (set @framework_identifier "nu.programming.numongodb")
23 (set @framework_creator_code "????")
42e9cbd @timburks added public headers.
authored
24 (set @public_headers (filelist "^headers/.*\.h$"))
065df32 @timburks Initial commit
authored
25
26 (compilation-tasks)
27 (framework-tasks)
28
29 (task "clobber" => "clean" is
30 (SH "rm -rf #{@framework_dir}"))
31
32 (task "default" => "framework")
33
34 (task "doc" is (SH "nudoc"))
35
Something went wrong with that request. Please try again.