当我尝试在树莓派上运行代码时,我一直收到此错误,我不知道是什么原因造成的:
CC = gcc
CFLAGS = -Wall -O0 -std=gnu99 -I/usr/local/include -g
LDFLAGS = -L/usr/local/lib -pthread -lm -lwiringPi
FUSEFLAGS = `pkg-config fuse --cflags --libs`
SOURCES = $(wildcard *.c)
PROGS = $(patsubst %.c,%,$(SOURCES))
BINS = $(SOURCES:.c=)
all: $(PROGS)
%: %.c
$(CC) $< $(CFLAGS) $(LDFLAGS) -o $@ $(FUSEFLAGS)
clean:
$(RM) *.o *.a $(BINS)
这会产生以下错误:
Makefile:14: *** missing separator. Stop.
当我使用make
运行代码时。在不确定是什么原因导致突然发生这种情况之前,我的化妆师就已经开始工作了!
答案 0 :(得分:2)
declare var require:any;
var fa = require('convert-layout/fa.js');
let correct = fa.fromEn('sghl');
我写过CC = gcc
CFLAGS = -Wall -O0 -std=gnu99 -I/usr/local/include -g
LDFLAGS = -L/usr/local/lib -pthread -lm -lwiringPi
FUSEFLAGS = `pkg-config fuse --cflags --libs`
SOURCES = $(wildcard *.c)
PROGS = $(patsubst %.c,%,$(SOURCES))
BINS = $(SOURCES:.c=)
all: $(PROGS)
%: %.c
<___T___A___B___>$(CC) $< $(CFLAGS) $(LDFLAGS) -o $@ $(FUSEFLAGS)
clean:
<___T___A___B___>$(RM) *.o *.a $(BINS)
的地方应该有1个制表符,不能有空格!