2
0
Troy D. Hanson 10 жил өмнө
parent
commit
50c6874061
1 өөрчлөгдсөн 4 нэмэгдсэн , 1 устгасан
  1. 4 1
      libut/Makefile

+ 4 - 1
libut/Makefile

@@ -17,7 +17,7 @@ utvector.o: src/utvector.c $(INCDIR)/utvector.h
 utmm.o: src/utmm.c $(INCDIR)/utmm.h
 utmm.o: src/utmm.c $(INCDIR)/utmm.h
 	$(CC) $(CFLAGS) -c $<
 	$(CC) $(CFLAGS) -c $<
 
 
-.PHONY: clean tests
+.PHONY: clean tests install
 
 
 clean:
 clean:
 	rm -f $(OBJS) *.o
 	rm -f $(OBJS) *.o
@@ -25,3 +25,6 @@ clean:
 
 
 tests: libut.a
 tests: libut.a
 	make -C tests 
 	make -C tests 
+
+install: libut.a
+	cp $< /usr/local/lib