mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-12-02 18:36:15 +02:00
1bd03ad100
The REPL itself and the `nix repl` CLI are conceptually different things, and thus deserve to be in different files.
15 lines
403 B
Makefile
15 lines
403 B
Makefile
libraries += libcmd
|
|
|
|
libcmd_NAME = libnixcmd
|
|
|
|
libcmd_DIR := $(d)
|
|
|
|
libcmd_SOURCES := $(wildcard $(d)/*.cc)
|
|
|
|
libcmd_CXXFLAGS += -I src/libutil -I src/libstore -I src/libexpr -I src/libmain -I src/libfetchers
|
|
|
|
libcmd_LDFLAGS = $(EDITLINE_LIBS) $(LOWDOWN_LIBS) -pthread
|
|
|
|
libcmd_LIBS = libstore libutil libexpr libmain libfetchers
|
|
|
|
$(eval $(call install-file-in, $(d)/nix-cmd.pc, $(libdir)/pkgconfig, 0644))
|