diff options
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 37e1b2e..9c55179 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -4,10 +4,20 @@ SUFFIXES = .rc .rc.o: windres $< -o $@ -SUBDIRS = sys math auxiliary filesystem model core server audio render client \ - game +if BUILD_CLIENT + MAYBE_CLIENT_SUBDIRS = audio render client + MAYBE_CLIENT_PROGRAMS = osirion +endif + +SUBDIRS = sys math auxiliary filesystem model core server $(MAYBE_CLIENT_SUBDIRS) game + noinst_HEADERS = config.h + +if BUILD_CLIENT bin_PROGRAMS = osiriond osirion +else +bin_PROGRAMS = osiriond +endif # dedicated server osiriond_SOURCES = osiriond.cc |