add install makefile command
This commit is contained in:
9
Makefile
9
Makefile
@@ -11,6 +11,13 @@ main.o:
|
|||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f *.o
|
rm -f *.o
|
||||||
|
rm -f todd
|
||||||
|
rm /usr/local/bin/todd || true
|
||||||
|
|
||||||
all: todo.o main.o
|
todd: todo.o main.o
|
||||||
$(CC) $(CFLAGS) todo.o main.o -lncurses -o todd
|
$(CC) $(CFLAGS) todo.o main.o -lncurses -o todd
|
||||||
|
|
||||||
|
all: todd
|
||||||
|
|
||||||
|
install: todd
|
||||||
|
cp todd /usr/local/bin/todd
|
||||||
|
|||||||
Reference in New Issue
Block a user