Add install:
This commit is contained in:
parent
3a8574de66
commit
253628b61e
3
Makefile
3
Makefile
@ -21,6 +21,9 @@ OBJS = $(subst .c,.o,$(SRC) $(HTML_SRC))
|
|||||||
$(TARGET): $(OBJS)
|
$(TARGET): $(OBJS)
|
||||||
gcc $(CFLAGS) -o $@ $^ $(LDLIBS)
|
gcc $(CFLAGS) -o $@ $^ $(LDLIBS)
|
||||||
|
|
||||||
|
install: $(TARGET)
|
||||||
|
install $(TARGET) /usr/local/bin/
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f .depend $(OBJS) $(HTML_SRC) $(TARGET)
|
rm -f .depend $(OBJS) $(HTML_SRC) $(TARGET)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user