mirror of
https://github.com/xboot/xrock.git
synced 2024-11-23 01:44:46 +08:00
[Makefile]update makefile
This commit is contained in:
parent
4fca82663c
commit
3cf899f3ef
1
Makefile
1
Makefile
@ -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) *~
|
||||
|
@ -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) *~
|
||||
|
Loading…
Reference in New Issue
Block a user