[Makefile]update makefile

This commit is contained in:
JianjunJiang 2024-09-05 14:14:40 +08:00
parent 4fca82663c
commit 3cf899f3ef
2 changed files with 1 additions and 8 deletions

View File

@ -70,7 +70,6 @@ install:
install -Dm0755 xrock /usr/local/bin/xrock
install -Dm0644 99-xrock.rules /etc/udev/rules.d/99-xrock.rules
install -Dm0644 LICENSE /usr/share/licenses/xrock/LICENSE
udevadm control --reload
clean:
@$(RM) $(DEPS) $(OBJS) $(NAME).exe $(NAME) *~

View File

@ -46,7 +46,7 @@ OBJDIRS := $(patsubst %, %, $(SRCDIRS))
NAME := xrock
VPATH := $(OBJDIRS)
.PHONY: all install clean
.PHONY: all clean
all : $(NAME)
@ -66,11 +66,5 @@ $(CPPOBJS) : %.o : %.cpp
@echo [CXX] $<
@$(CXX) $(CXXFLAGS) -MD -MP -MF $@.d $(INCDIRS) -c $< -o $@
install:
install -Dm0755 xrock /usr/local/bin/xrock
install -Dm0644 99-xrock.rules /etc/udev/rules.d/99-xrock.rules
install -Dm0644 LICENSE /usr/share/licenses/xrock/LICENSE
udevadm control --reload
clean:
@$(RM) $(DEPS) $(OBJS) $(NAME).exe $(NAME) *~