mirror of
https://github.com/andreili/camera-streamer.git
synced 2025-08-23 19:34:07 +02:00
Fix compilation with sudo: use CURDIR instead of PWD
This commit is contained in:
parent
9c7f5fed12
commit
950643cff3
2
Makefile
2
Makefile
@ -3,7 +3,7 @@ SRC := $(wildcard **/*.c **/*/*.c **/*.cc **/*/*.cc)
|
||||
HEADERS := $(wildcard **/*.h **/*/*.h **/*.hh **/*/*.hh)
|
||||
HTML := $(wildcard html/*.js html/*.html)
|
||||
|
||||
CFLAGS := -Werror -Wall -g -I$(PWD)
|
||||
CFLAGS := -Werror -Wall -g -I$(CURDIR)
|
||||
LDLIBS := -lpthread -lstdc++
|
||||
|
||||
ifneq (x,x$(shell which ccache))
|
||||
|
Loading…
x
Reference in New Issue
Block a user