Skip to content

Commit

Permalink
add make server
Browse files Browse the repository at this point in the history
  • Loading branch information
cxxxr committed Oct 20, 2024
1 parent 2f45f2f commit ef0f4f7
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ GIT_IGNORE.*

lem
lem-ncurses
lem-rpc
lem-server

*.abcl
build/*
Expand Down
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ sdl2-ncurses:
qlot install
$(LISP) --noinform --no-sysinit --no-userinit --load .qlot/setup.lisp --load scripts/build-sdl2-ncurses.lisp

server:
qlot install
$(LISP) --noinform --no-sysinit --no-userinit --load .qlot/setup.lisp --load scripts/build-server.lisp

install:
qlot install
$(LISP) --noinform --no-sysinit --no-userinit --load .qlot/setup.lisp --load scripts/build-sdl2-ncurses.lisp
Expand Down
6 changes: 0 additions & 6 deletions frontends/server/lem-server.asd
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,3 @@
(:file "view")
(:file "mouse")
(:file "main")))

(defsystem "lem-server/executable"
:build-operation program-op
:build-pathname "../lem-server"
:entry-point "lem-server:main"
:depends-on ("lem-server"))
7 changes: 7 additions & 0 deletions scripts/build-server.lisp
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
(ql:quickload :lem-server)

(lem:init-at-build-time)

(sb-ext:save-lisp-and-die "lem-server"
:toplevel #'lem-server:main
:executable t)

0 comments on commit ef0f4f7

Please sign in to comment.