mirror of
https://github.com/lhearachel/narc.git
synced 2025-06-18 13:35:32 -04:00
fix: Fix version.h dependency for clang
This commit is contained in:
parent
33b973d86d
commit
060551e282
1
.gitignore
vendored
1
.gitignore
vendored
@ -4,6 +4,7 @@
|
|||||||
*.exe
|
*.exe
|
||||||
*.out
|
*.out
|
||||||
*.so
|
*.so
|
||||||
|
*.dynlib
|
||||||
/narc
|
/narc
|
||||||
build/*
|
build/*
|
||||||
|
|
||||||
|
4
Makefile
4
Makefile
@ -52,7 +52,7 @@ VERSION = VERSION
|
|||||||
|
|
||||||
all: lib cli
|
all: lib cli
|
||||||
|
|
||||||
cli: $(CLITARGET)
|
cli: $(CLIVER) $(CLITARGET)
|
||||||
|
|
||||||
lib: $(LIBTARGET)
|
lib: $(LIBTARGET)
|
||||||
|
|
||||||
@ -74,7 +74,7 @@ $(CLIVER): tools/version.sh $(VERSION)
|
|||||||
|
|
||||||
# Statically link the CLI
|
# Statically link the CLI
|
||||||
$(CLITARGET): CFLAGS += -I./cli/include
|
$(CLITARGET): CFLAGS += -I./cli/include
|
||||||
$(CLITARGET): $(CLIVER) $(CLIOBJ) $(LIBOBJ)
|
$(CLITARGET): $(CLIOBJ) $(LIBOBJ)
|
||||||
$(CC) $(LDFLAGS) -o $@ $^
|
$(CC) $(LDFLAGS) -o $@ $^
|
||||||
|
|
||||||
$(LIBTARGET): LDFLAGS += -shared
|
$(LIBTARGET): LDFLAGS += -shared
|
||||||
|
Loading…
Reference in New Issue
Block a user