fix build under newer KConfig by bump cmake min version
This commit is contained in:
22
3rdparty/lexilla540/lexilla/examples/CheckLexilla/makefile
vendored
Normal file
22
3rdparty/lexilla540/lexilla/examples/CheckLexilla/makefile
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
.PHONY: all check clean
|
||||
|
||||
INCLUDES = -I ../../include
|
||||
EXE = $(if $(windir),CheckLexilla.exe,CheckLexilla)
|
||||
|
||||
ifdef windir
|
||||
RM = $(if $(wildcard $(dir $(SHELL))rm.exe), $(dir $(SHELL))rm.exe -f, del /q)
|
||||
CC = gcc
|
||||
else
|
||||
LIBS += -ldl
|
||||
endif
|
||||
|
||||
all: $(EXE)
|
||||
|
||||
check: $(EXE)
|
||||
./$(EXE)
|
||||
|
||||
clean:
|
||||
$(RM) $(EXE)
|
||||
|
||||
$(EXE): *.c
|
||||
$(CC) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $^ $(LIBS) $(LDLIBS) -o $@
|
Reference in New Issue
Block a user