diff options
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/meson.build b/meson.build index e1b8dce..81dc491 100644 --- a/meson.build +++ b/meson.build @@ -11,16 +11,19 @@ deps = [ src = [ 'src/str.c', - 'src/peer.c', + 'src/net.c', 'src/ser.c', + 'src/ticker.c', ] -sillyserver = executable('sillyserver', +include = 'include/' + +executable('sillyserver', sources: [ src, 'src/server.c', ], - include_directories: 'include/', + include_directories: include, dependencies: [ deps, dependency('libpng'), @@ -28,4 +31,12 @@ sillyserver = executable('sillyserver', install: true, ) -run_target('run', command: sillyserver) +executable('sillyclient', + sources: [ + src, + 'src/client.c', + ], + include_directories: include, + dependencies: deps, + install: true, +) |