Permalink
Browse files

Factor common source files out.

So they can be used for the main `dmserver` as well as for tests
eventually.
  • Loading branch information...
1 parent 212b3c3 commit 78e81343e84ffd9f2e41a3225f8338dd361bebca @jonm committed Nov 17, 2015
Showing with 3 additions and 2 deletions.
  1. +3 −2 src/Makefile.am
View
@@ -1,11 +1,12 @@
## Process this file with automake to produce Makefile.in
bin_PROGRAMS = dmserver
-dmserver_SOURCES = comm.c act.comm.c act.info.c act.move.c act.obj1.c \
+common_sources = comm.c act.comm.c act.info.c act.move.c act.obj1.c \
act.obj2.c act.off.c act.other.c act.social.c act.wizard.c handler.c \
db.c interpreter.c utility.c spec_assign.c shop.c limits.c mobact.c \
fight.c modify.c weather.c spells1.c spells2.c spell_parser.c \
reception.c constants.c spec_procs.c signals.c board.c magic.c \
magic2.c skills.c Opinion.c Trap.c magicutils.c multiclass.c hash.c \
Sound.c Heap.c spec_procs2.c magic3.c security.c spec_procs3.c \
- create.c bsd.c parser.c intrinsics.c main.c
+ create.c bsd.c parser.c intrinsics.c
+dmserver_SOURCES = $(common_sources) main.c

0 comments on commit 78e8134

Please sign in to comment.