Server - added 'install' make target
authorJohn Hodge <[email protected]>
Sun, 6 Oct 2013 04:55:22 +0000 (12:55 +0800)
committerJohn Hodge <[email protected]>
Sun, 6 Oct 2013 04:55:22 +0000 (12:55 +0800)
src/server/Makefile

index fe86e88..c8b2b4a 100644 (file)
@@ -22,6 +22,10 @@ all: $(BIN)
 clean:
        $(RM) $(BIN) $(OBJ) $(DEPFILES)
 
+install: $(BIN)
+       mkdir -p $(INSTALLDIR)
+       cp $(BIN) $(INSTALLDIR)
+
 $(BIN): $(OBJ)
        $(CC) -o $(BIN) $(OBJ) $(LINKFLAGS)
 

UCC git Repository :: git.ucc.asn.au